From d2a96e757f7f4bae9aa2dbf5384d386a9aa7998a Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Tue, 8 Feb 2022 20:44:57 -0500 Subject: fix: strip honeypot and add logging for mailer errors --- index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index cdf77fa..b9a58b1 100644 --- a/index.php +++ b/index.php @@ -366,8 +366,6 @@ - - @@ -413,6 +411,7 @@ if (!$mail->send()) { echo 'There was a problem sending your message. Please try again later or send mail to Amy@CarpenterTutoring.com.'; echo ''; + error_log($mail->ErrorInfo); } else { echo "Your message was successfully sent."; } -- cgit v1.2.3