From 396a6b6a20226b95a82a67b38e7f2b68de09119e Mon Sep 17 00:00:00 2001 From: developtheweb Date: Fri, 19 Feb 2021 00:21:22 -0500 Subject: [PATCH] updated contact form settings --- mail/contact_me.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mail/contact_me.php b/mail/contact_me.php index 05170c0..80a8b6e 100755 --- a/mail/contact_me.php +++ b/mail/contact_me.php @@ -22,10 +22,10 @@ $message = $_POST['message']; if (empty($_POST['_gotcha'])) { // If hidden field was filled out (by spambots) don't send! // Create the email and send the message - $to = 'yourname@yourdomain.com'; // Add your email address inbetween the '' replacing yourname@yourdomain.com - This is where the form will send a message to. + $to = 'contact@stevenmilanese.com'; // Add your email address inbetween the '' replacing yourname@yourdomain.com - This is where the form will send a message to. $email_subject = "Website Contact Form: $name"; $email_body = "You have received a new message from your website contact form.\n\n"."Here are the details:\n\nName: $name\n\nEmail: $email_address\n\nPhone: $phone\n\nMessage:\n$message"; - $headers = "From: noreply@yourdomain.com\n"; // This is the email address the generated message will be from. We recommend using something like noreply@yourdomain.com. + $headers = "From: noreply@stevenmilanese.com\n"; // This is the email address the generated message will be from. We recommend using something like noreply@yourdomain.com. $headers .= "Reply-To: $email_address"; mail($to,$email_subject,$email_body,$headers); return true;