summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;