diff --git a/static/rsvp-submit.php b/static/rsvp-submit.php index 78de42c..a4a3e83 100755 --- a/static/rsvp-submit.php +++ b/static/rsvp-submit.php @@ -210,7 +210,12 @@ EOD; $mail->Body = $body; file_put_contents('/tmp/rsvp-debug.log', "5\n", FILE_APPEND); + $mail->SMTPDebug = 2; +$mail->Debugoutput = 'error_log'; +$mail->Timeout = 10; +error_log("About to send mail"); $mail->send(); +error_log("Mail sent"); file_put_contents('/tmp/rsvp-debug.log', "6\n", FILE_APPEND); header('Location: /thank-you/');