From 3d0608953854229174a7640754dd658edc257d03 Mon Sep 17 00:00:00 2001 From: Jerome Lachaud Date: Wed, 28 Jan 2015 22:47:26 +0100 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 3060b9c..8a4b732 100755 --- a/mail/contact_me.php +++ b/mail/contact_me.php @@ -16,11 +16,11 @@ $phone = $_POST['phone']; $message = $_POST['message']; // Create the email and send the message -$to = 'jerome.lachaud@gmail.com'; // Add your email address inbetween the '' replacing yourname@yourdomain.com - This is where the form will send a message to. +$to = 'email@server.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 .= "Reply-To: $email_address"; mail($to,$email_subject,$email_body,$headers); return true; -?> \ No newline at end of file +?>