From 6d06e68526de5e09f96e1a93f1f22cc393fb7dd5 Mon Sep 17 00:00:00 2001 From: Adil Sadqi <42699429+AdilSadqi@users.noreply.github.com> Date: Sun, 2 Apr 2023 22:19:07 +0000 Subject: [PATCH] Update contact_me.php --- 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..3dc4497 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 = 'adil@asadqi.com'; // Add your email address inbetween the '' replacing adil@asadqi.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: adil@asadqi.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;