public property PhpMailerSmtp::$drupalDebug in PHPMailer SMTP 2.x
Same name and namespace in other branches
- 8 src/Plugin/Mail/PhpMailerSmtp.php \Drupal\phpmailer_smtp\Plugin\Mail\PhpMailerSmtp::drupalDebug
- 2.0.x src/Plugin/Mail/PhpMailerSmtp.php \Drupal\phpmailer_smtp\Plugin\Mail\PhpMailerSmtp::drupalDebug
- 2.1.x src/Plugin/Mail/PhpMailerSmtp.php \Drupal\phpmailer_smtp\Plugin\Mail\PhpMailerSmtp::drupalDebug
Verbose debug output level configured for Drupal.
In order to be able to log error messages with actual error information and see what actually went wrong for a particular message, PHPMailer::SMTPDebug always needs to be enabled.
PhpMailerSmtp::SmtpSend() overrides PHPMailer::SmtpSend() to capture the debug output string and make it available for \Drupal::logger() calls.
Type: int
See also
PHPMailer::SMTPDebug
SMTP::do_debug
PhpMailerSmtp::SmtpSend()
PhpMailerSmtp::drupalDebugOutput
File
- src/
Plugin/ Mail/ PhpMailerSmtp.php, line 71
Class
- PhpMailerSmtp
- Implements the base PHPMailer SMTP class for the Drupal MailInterface.
Namespace
Drupal\phpmailer_smtp\Plugin\MailCode
public $drupalDebug = 0;