diff options
author | Adam T. Carpenter <atc@53hor.net> | 2021-07-05 11:08:19 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2021-07-05 11:08:19 -0400 |
commit | 45c9d3fdfe50490219010ca70b428a8913d353d7 (patch) | |
tree | 2f81c4bd73fadbe85ff24526d11ef873cdc630b2 | |
parent | 1dfbb91fabec97c1c13aeb4ce16c3ac1c383de9a (diff) | |
download | carpentertutoring-45c9d3fdfe50490219010ca70b428a8913d353d7.tar.xz carpentertutoring-45c9d3fdfe50490219010ca70b428a8913d353d7.zip |
FROM address should be form submitter, not smtp user
-rw-r--r-- | index.php | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |