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

View File

@ -354,7 +354,7 @@ if(LATEST_DATABASE_VERSION > CURRENT_DATABASE_VERSION){
//Create New Vendor Templates Table
mysqli_query($mysqli, "CREATE TABLE `vendor_templates` (`vendor_template_id` int(11) AUTO_INCREMENT PRIMARY KEY,
`vendor_template_name` varchar(200) NOT NULL,
`vendor_template_description` varchar(200) NULL DEFAULT NULL,
`vendor_template_description` varchar(200) NULL DEFAULT NULL,
`vendor_template_phone` varchar(200) NULL DEFAULT NULL,
`vendor_template_email` varchar(200) NULL DEFAULT NULL,
`vendor_template_website` varchar(200) NULL DEFAULT NULL,