Changement d'adresse mail
This commit is contained in:
parent
a8f4b5285f
commit
bb99a5674b
@ -52,7 +52,7 @@ $(function() {
|
|||||||
$('#success').html("<div class='alert alert-danger'>");
|
$('#success').html("<div class='alert alert-danger'>");
|
||||||
$('#success > .alert-danger').html("<button type='button' class='close' data-dismiss='alert' aria-hidden='true'>×")
|
$('#success > .alert-danger').html("<button type='button' class='close' data-dismiss='alert' aria-hidden='true'>×")
|
||||||
.append("</button>");
|
.append("</button>");
|
||||||
$('#success > .alert-danger').append("<strong>Désolé " + firstName + ", mon serveur de mail ne semble pas disponible, vous pouvez m'envoyer un mail directement à anthony-dumas@pad-panic.fr !");
|
$('#success > .alert-danger').append("<strong>Désolé " + firstName + ", mon serveur de mail ne semble pas disponible, vous pouvez m'envoyer un mail directement à anthony.yvon.dumas@gmail.com !");
|
||||||
$('#success > .alert-danger').append('</div>');
|
$('#success > .alert-danger').append('</div>');
|
||||||
//clear all fields
|
//clear all fields
|
||||||
$('#contactForm').trigger("reset");
|
$('#contactForm').trigger("reset");
|
||||||
|
@ -16,7 +16,7 @@ $phone = $_POST['phone'];
|
|||||||
$message = $_POST['message'];
|
$message = $_POST['message'];
|
||||||
|
|
||||||
// Create the email and send the message
|
// Create the email and send the message
|
||||||
$to = 'anthony-dumas@pad-panic.fr'; // Add your email address inbetween the '' replacing yourname@yourdomain.com - This is where the form will send a message to.
|
$to = 'anthony.yvon.dumas@gmail.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_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";
|
$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@pad-panic.fr\n"; // This is the email address the generated message will be from. We recommend using something like noreply@yourdomain.com.
|
$headers = "From: noreply@pad-panic.fr\n"; // This is the email address the generated message will be from. We recommend using something like noreply@yourdomain.com.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user