debugging rsvp-submit.php

This commit is contained in:
spetznas committed 2026-06-17 18:46:29 +02:00
1 parent 37b11df74b
commit 9c7372f271
1 file changed
+5
+5
View File
@@ -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/');