From 45c9d3fdfe50490219010ca70b428a8913d353d7 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Mon, 5 Jul 2021 11:08:19 -0400 Subject: FROM address should be form submitter, not smtp user --- index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.php b/index.php index 27d9487..eed4dfc 100644 --- a/index.php +++ b/index.php @@ -401,8 +401,7 @@ $mail->SMTPAuth = true; $mail->Username = $smtpuser; $mail->Password = $smtppass; - $mail->setFrom($smtpuser, $name); - $mail->addReplyTo($email, $name); + $mail->setFrom($email, $name); $mail->addAddress($address); $mail->Subject = 'Tutoring Inquiry'; $mail->Body = $body; -- cgit v1.2.3