public property DrupalPHPMailer::$drupalDebug in PHPMailer 8.3
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.
DrupalPHPMailer::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
DrupalPHPMailer::drupalDebugOutput
File
- src/
Plugin/ Mail/ DrupalPHPMailer.php, line 45
Class
- DrupalPHPMailer
- Implements the base PHPMailer class for the Drupal MailInterface.
Namespace
Drupal\phpmailer\Plugin\MailCode
public $drupalDebug = 0;