Browse Source

Modification de l'header + expediteur

Signed-off-by: kevlarcade <kevlarcade@gmail.com>
kevlarcade 4 years ago
parent
commit
8db168d660
1 changed files with 2 additions and 1 deletions
  1. 2 1
      mail/contact_me.php

+ 2 - 1
mail/contact_me.php

@@ -15,11 +15,12 @@ $email_address = $_POST['email'];
15 15
 $phone = $_POST['phone'];
16 16
 $message = $_POST['message'];
17 17
 
18
-$to = 'contact@lalis.fr';
18
+$to = 'contact@labolyon.fr';
19 19
 $email_subject = "[Site] Contact de :  $name";
20 20
 $email_body = "Vous avez recu un message depuis le formulaire du site.\n\n"."Voici les details :\n\nNom : $name\n\nEmail : $email_address\n\nTelephone : $phone\n\nMessage :\n$message";
21 21
 $headers = "From: noreply@labolyon.fr\n";
22 22
 $headers .= "Reply-To: $email_address";	
23
+$headers .= "Date: ".date("r");	
23 24
 mail($to,$email_subject,$email_body,$headers);
24 25
 return true;
25 26
 ?>