You are here

public property DrupalPHPMailer::$drupalDebug in PHPMailer 6.3

Same name and namespace in other branches
  1. 7.4 includes/phpmailer.class.inc \DrupalPHPMailer::drupalDebug
  2. 7.3 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 35
Implements the base PHPMailer for Drupal class.

Class

DrupalPHPMailer
Base PHPMailer for Drupal implementation with support for SMTP keep-alive and setting a custom Return-Path.

Code

public $drupalDebug = 0;