From 7c8959c17aa7829d32a608270ea2e973989f1d0f Mon Sep 17 00:00:00 2001 From: johnnyq Date: Wed, 9 Nov 2022 11:30:34 -0500 Subject: [PATCH] Added SMTP Debug 3 to cron.php to diagnose mail issues --- cron.php | 4 ++-- database_updates.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cron.php b/cron.php index 4efa0bc0..cb437d50 100644 --- a/cron.php +++ b/cron.php @@ -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 diff --git a/database_updates.php b/database_updates.php index e8431ed4..163c8b07 100644 --- a/database_updates.php +++ b/database_updates.php @@ -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,