Yes, the host and I both have gone over and tested the mailer functions. As stated in the original posts there is nothing even happening according to test code when the send button is pressed.
When the testing instructions are followed there is no log generated.
A direct call to PHPMailer with the same settings as in the mail server config section worked just fine.
Here's the code that was used to test the mailer directly.All the passwords, etc. Are obscured of course
When the testing instructions are followed there is no log generated.
A direct call to PHPMailer with the same settings as in the mail server config section worked just fine.
Here's the code that was used to test the mailer directly.
Code:
<?phperror_reporting(E_ALL);require_once 'libraries/vendor/autoload.php';use PHPMailer\PHPMailer\PHPMailer;$mail = new PHPMailer(true);$mail->isSMTP();$mail->Timeout = 30;$mail->Host = 'mail.****.com';$mail->Username = 'web@****.com';$mail->Password = '******';$mail->SMTPDebug = 4;$mail->Port = 587;$mail->SMTPAuth = true;$mail->SMTPSecure = 'tls';$mail->setFrom('web@****.com', '**** Website');$mail->addAddress('support@******.com');$mail->Subject = "PHPMailer test";$mail->Body = 'this is a test.';$result = $mail->send();echo "sent!";var_dump($result);
Statistics: Posted by N6REJ — Tue Feb 27, 2024 7:46 pm