bonjour tout le monde, j'ai récemment mis au point un site.
un seul beug est présent c'est que j'ai un formulaire contenant 3 champs quand on le rempli je dois recevoir un mail contenant ces informations: j'ai testé , j'ai un résultat true send sauf que dans ma boite mail je ne reçois rien.
svp si quelqu'un peut m'aider car j'ai mis le site en ligne et c'est très important ce formulaire, MERCI

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
<?xml version="1.0" encoding="UTF-8" ?>
 
 
<form url_config="xml/configuration_form.xml">
 
 
<date  button_send_x="490" button_send_y="209" alert_x="0" alert_y="210">
<item x="0" y="0" returnable_email="true" title="Email:" type="input" key="e_mail" verification="e_mail"/> 	 
<item x="355" y="0" subject="true" title="Téléphone:" type="input" key="subject" verification="not_empty"/> 	 	
<item x="0" y="75" title="Avis / Commande:" type="textarea" key="comment" verification="not_empty"/> 	 
</date>	
 
 
<title>
	<![CDATA[<head2>Contact</head2>]]>
</title>	
 
 
<desc>
<![CDATA[<body><head2>Contact</head2><br>Pour toute commande/avis je vous invite à remplir le formulaire tout en précisant les références des articles que vous souhaitez commander et votre numéro de téléphone/avis.<br><br>rance<br><E-mail: <a href="mailto:contact@monsite.com">contact@monsite.com</a>
 
</body>
]]>	
 
</desc>
 
</form>
 
page configuration
page configuration

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
<?xml version="1.0" encoding="UTF-8"?>
 
 
<configuration>
 
 
<!-- BACKGROUND FORM -->
<BACKGROUND_COLOR>0x20121b,90</BACKGROUND_COLOR>
 
<!-- color border error -->
<COLOR_BORDER_ERROR>0xFF0000,100</COLOR_BORDER_ERROR>
 
<!-- color border select -->
<COLOR_BORDER_SELECT>0xa42775,100</COLOR_BORDER_SELECT>
 
<!-- background input text -->
<BACKGROUND_INPUT_TEXT>0x281c25,100</BACKGROUND_INPUT_TEXT>
 
<!-- background input text - frame -->
<BACKGROUND_INPUT_TEXT_FRAME>0xa42775,100</BACKGROUND_INPUT_TEXT_FRAME>
 
<!-- background color button send and reset -->
<BUTTON_BCG_COLOR>0xb42980,100</BUTTON_BCG_COLOR>
 
<!-- pathway php file -->
<URLSEND>php/url_send.php</URLSEND>
 
<!-- alert send==true -->
<SENDTRUE>sendTrue</SENDTRUE>
 
<!-- alert send = false -->
<SENDFALSE>sendFalse</SENDFALSE>
 
<!-- alert send==progress -->
<SENDPROGRESS>sendProgress</SENDPROGRESS>
 
<!-- button send -->
<BUTTONSEND>Envoyer</BUTTONSEND>
 
<!-- button reset -->
<BUTTONRESET>Annuler</BUTTONRESET>
 
<!-- space y row -->
<SPACEY>14</SPACEY>
 
<!-- align button  R OR L -->
<ALIGNBUTTON>L</ALIGNBUTTON>
 
<!-- title color -->
<TITLECOLOR>0xFFFFFF</TITLECOLOR>
 
<!-- input color -->
<INPUTCOLOR>0xc8adc5</INPUTCOLOR>
 
<!-- input background -->
<INPUTBACKGRONDCOLOR></INPUTBACKGRONDCOLOR>
 
<!-- border color input -->
<BORDERCOLOR>0xFF0000</BORDERCOLOR>
 
<!-- error color  -->
<ERRORBORDERCOLOR>0xFF0000,0</ERRORBORDERCOLOR>
 
<!-- alert color -->
<ALERTCOLOR>0xFFFFFF</ALERTCOLOR>
 
<!-- button text color -->
<BUTTONTEXTCOLOR>0xFFFFFF</BUTTONTEXTCOLOR>
 
<!-- color background button -->
<BUTTONBACKGROUNDCOLOR>0x13AFD9,100</BUTTONBACKGROUNDCOLOR>
 
<!-- position x -->
<POSITION_X>20</POSITION_X>
 
<!-- position y -->
<POSITION_Y>90</POSITION_Y>
 
<!-- your e-mail -->
<SENDTO>contact@monsite.com</SENDTO>
 
<!-- headline e-mail -->
<HEADLINE>Hello !</HEADLINE>
 
</configuration>
page url send .php

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
<?php
 
 
 
$SENDTO =$_POST['SENDTO']; 
$message.=$_POST['HEADLINE']."\r\n\r\n\r\n";  
$KEY_SUBJECT=$_POST['KEY_SUBJECT'];  
$KEY_RETURNABLE_EMAIL=$_POST['KEY_RETURNABLE_EMAIL'];  
 
 
 
 
 
/////////////////////////////////////////////////////////////code send e-mail
 
foreach ($_POST as $varname => $varvalue) {
$array_value=explode(":",$varvalue);
$array[$varname][0]=$array_value[0];
$array[$varname][1]=$array_value[1];
}
 
$array=array_reverse($array);   
 
foreach ($array as $varname => $varvalue) {
if($varname!="onLoad"&&$varname!="SENDTO"&&$varname!="HEADLINE"&&$varname!="KEY_SUBJECT"&&$varname!="KEY_RETURNABLE_EMAIL"){
$message.=$varvalue[0]." : \r\n ".$varvalue[1]."\r\n\r\n\n\n";
}
}
 
$subject =$array[$KEY_SUBJECT][1];  /////subject
$email_from=$array[$KEY_RETURNABLE_EMAIL][1];
 
 
/////header - version 1
$header = "From:$email_from <$email_from>\n";
$header .= "MIME-Version: 1.0\r\n"."Content-type: text/plain; charset=utf-8\r\n";
$header .= "Content-Type: text/plain;\n";
$header .= "\tcharset=\"iso-8859-2\"\n";
$header .= "Content-Transfer-Encoding: quoted-printable\n\n";
 
 
//////header - version2 
///$header = "FROM:info@your_domain.com";
 
 
 
 
 
 
 
mail($SENDTO,$subject,$message,$header);
echo "&senden=ok&";
 
/////////////////////////////////////////////////////////end code
 
?>