Added SMTP Debug 3 to cron.php to diagnose mail issues

This commit is contained in:
johnnyq
2022-11-09 11:30:34 -05:00
parent 24f36069c5
commit 7c8959c17a
2 changed files with 3 additions and 3 deletions

View File

@@ -243,7 +243,7 @@ while($row = mysqli_fetch_array($sql_companies)){
//Mail Server Settings
$mail->SMTPDebug = 2; // Enable verbose debug output
$mail->SMTPDebug = 3; // Enable verbose debug output
$mail->isSMTP(); // Set mailer to use SMTP
$mail->Host = $config_smtp_host; // Specify main and backup SMTP servers
$mail->SMTPAuth = true; // Enable SMTP authentication
@@ -367,7 +367,7 @@ while($row = mysqli_fetch_array($sql_companies)){
//Mail Server Settings
//$mail->SMTPDebug = 2; // Enable verbose debug output
$mail->SMTPDebug = 3; // Enable verbose debug output
$mail->isSMTP(); // Set mailer to use SMTP
$mail->Host = $config_smtp_host; // Specify main and backup SMTP servers
$mail->SMTPAuth = true; // Enable SMTP authentication