You are here

public property DrupalPHPMailer::$drupalDebug in PHPMailer 7.3

Same name and namespace in other branches
  1. 6.3 includes/phpmailer.class.inc \DrupalPHPMailer::drupalDebug
  2. 7.4 includes/phpmailer.class.inc \DrupalPHPMailer::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.

DrupalPHPMailer::SmtpSend() overrides PHPMailer::SmtpSend() to capture the debug output string and make it available for watchdog() calls.

Type: int

See also

PHPMailer::SMTPDebug

SMTP::do_debug

DrupalPHPMailer::SmtpSend()

DrupalPHPMailer::drupalDebugOutput

File

includes/phpmailer.class.inc, line 39
Implements the base PHPMailer for Drupal class.

Class

DrupalPHPMailer
Class for implementing the PHPMailer library in Drupal.

Code

public $drupalDebug = 0;