Bonjour,

Voila mon soucis j'utilise la function mail de php
le client recois bien le message en totalite mais moi je recois pas le corp du message voici mon code.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
 
<?php
		if($_GET['a']=="contact"){
 
		ini_set('register_globals','1');
		 //----------------------------------------------- 
     //DECLARE LES VARIABLES 
     //----------------------------------------------- 
 
	 $Email =$_POST['Email'];
	 $Prenom =$_POST['Prenom'];
	 $Nom =$_POST['Nom'];
	 $Sujet =$_POST['Sujet'];
	 $Message =$_POST['Message'];
 
     $destinataire="$Email";
     $email_expediteur='contact@vous-livreboutique.fr'; 
     $email_reply='admin@vous-livreboutique.fr';
 
     $sujet='Formulaire de contact vous-livreboutique.fr'; 
     $message_html="<html>
<head>
	<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
	<title>Message de Alsace Bike</title>
</head>
<body>
	<table style=\"font-family:Verdana,sans-serif; font-size:11px; color:#374953; width: 550px;\">
	
		<tr><td>&nbsp;</td></tr>
		<tr>
			<td align=\"left\">Bonjour <strong style=\"color:#DB3484;\">$Prenom $Nom</strong>,</td>
		</tr>
		<tr><td>&nbsp;</td></tr>
		<tr>
			<td align=\"left\" style=\"background-color:#DB3484; color:#FFF; font-size: 12px; font-weight:bold; padding: 0.5em 1em;\">Merci de nous avoir contacter, nous allons vous répondre à votre demande d'ici 12 à 24 h</td>
		</tr>
		<tr><td>&nbsp;</td></tr>
		<tr><td>&nbsp;</td></tr>
		<tr><td><strong style=\"color:#DB3484;\">Sujet du Message : </strong><br><br> $Sujet </td></tr>
		<tr><td>&nbsp;</td></tr>
		<tr><td>&nbsp;</td></tr>
		<tr>
			<td align=\"left\">
			<strong style=\"color:#DB3484;\">Votre message :</strong> <br><br> $Message
				
		</tr>
		<tr><td>&nbsp;</td></tr>
		<tr>
			<td align=\"left\">
				&nbsp;</td>
		</tr>
		<tr><td>&nbsp;</td></tr>
		<tr>
			<td align=\"center\" style=\"font-size:10px; border-top: 1px solid #D9DADE;\">
				<a href=\"http:/www.vous-livreboutique.fr\">
				vous-livreboutique.fr</a> r&eacute;alis&eacute; avec <a href=\"http://www.prestashop.com/\" style=\"text-decoration:none; color:#374953;\">Oscommerce</a>
			</td>
		</tr>
	</table>
</body>
</html>
"; 
 
     //----------------------------------------------- 
     //GENERE LA FRONTIERE DU MAIL ENTRE TEXTE ET HTML 
     //----------------------------------------------- 
 
     $frontiere = '-----=' . md5(uniqid(mt_rand())); 
 
     //----------------------------------------------- 
     //HEADERS DU MAIL 
     //----------------------------------------------- 
 
     $headers = 'From: "Vous-livreboutique" <'.$email_expediteur.'>'."\n"; 
	 $headers .= "cc: $email_expediteur"."\n";
     $headers .= 'Return-Path: <'.$email_reply.'>'."\n"; 
     $headers .= 'MIME-Version: 1.0'."\n"; 
     $headers .= 'Content-Type: multipart/alternative; boundary="'.$frontiere.'"';
 
 
 
     //----------------------------------------------- 
     //MESSAGE HTML 
     //----------------------------------------------- 
     $message .= '--'.$frontiere.'--'."\n";
     $message .= 'Content-Type: text/html; charset="iso-8859-1"'."\n"; 
     $message .= 'Content-Transfer-Encoding: 8bit'."\n\n"; 
     $message .= $message_html."\n\n"; 
 
     $message .= '--'.$frontiere.'--'."\n"; 
 
     if(mail($destinataire,$sujet,$message,$headers)) 
     { 
          echo 'Le mail a été envoyé'; 
     } 
     else 
     { 
          echo 'Le mail n\'a pu être envoyé'; 
     } 
 
        }
		?>
Merci pour votre aide