Update contact_me.php

This commit is contained in:
Jerome Lachaud 2015-01-28 22:47:26 +01:00
parent 3a0851bfcc
commit 3d06089538
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ $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.