diff --git a/src/PHPMailer.php b/src/PHPMailer.php index c26ce14e..b9d3d33d 100644 --- a/src/PHPMailer.php +++ b/src/PHPMailer.php @@ -301,7 +301,7 @@ class PHPMailer * * `echo` Output plain-text as-is, appropriate for CLI * * `html` Output escaped, line breaks converted to `
`, appropriate for browser output * * `error_log` Output to error log as configured in php.ini - * + * By default PHPMailer will use `echo` if run from a `cli` or `cli-server` SAPI, `html` otherwise. * Alternatively, you can provide a callable expecting two params: a message string and the debug level: * * $mail->Debugoutput = function($str, $level) {echo "debug level $level; message: $str";};