summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-07-05 11:08:19 -0400
committerAdam T. Carpenter <atc@53hor.net>2021-07-05 11:08:19 -0400
commit45c9d3fdfe50490219010ca70b428a8913d353d7 (patch)
tree2f81c4bd73fadbe85ff24526d11ef873cdc630b2 /index.php
parent1dfbb91fabec97c1c13aeb4ce16c3ac1c383de9a (diff)
downloadcarpentertutoring-45c9d3fdfe50490219010ca70b428a8913d353d7.tar.xz
carpentertutoring-45c9d3fdfe50490219010ca70b428a8913d353d7.zip
FROM address should be form submitter, not smtp user
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 1 insertions, 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;