Mon message semble être envoyé mais n'arrive pas sur ma boîte email.
Voici le code html ainsi que le code php, si quelqu'un peut m'aider, je ne vois pas ce qui ne va pas....
Code HTML
<html>
<head><title>Informations complémentaires</title></head>
<style type="text/css">
.grand-verda {font-family: Courier New, Courier, monospace; font-size: 14px; font-weight: normal; color: #cccccc};</style>
<body bgcolor="#000000">
<form method="post" action="mail.php" name="avis">
<div align="center">
<table width="79%" border="1" cellpadding="1" cellspacing="1" bordercolor="#cccccc" class="grand-verda" >
<tr>
<td width="30%">Nom </td>
<td width="70%"> <input type="text" name="champNom" size="20"></td>
</tr>
<tr>
<td width="30%">Email</td>
<td width="70%"> <input type="text" name="champMail" size="20"></td>
</tr>
<tr>
<td width="30%">Telephone</td>
<td width="70%"><input type="text" name="champTel" size="20"></td>
</tr>
<tr>
<td valign="top" width="30%">Message</td>
<td width="70%"> <div align="left"> <textarea rows="4" name="champRedac" cols="40"></textarea></div></td>
</tr>
</table>
</div>
<p align="center"><input type="submit" value="Envoyer" name="BoutonEnvoyer"> <input type="reset" value="Rétablir" name="BoutonRetablir"> </p></td></tr>
</form>
</body>
</html>
--------------------------------------------------------------------------------------------------
Code PHP
<html>
<head></head>
<body>
<?
$MailTo = "monadresse@hotmail.com";
$MailSubject = "Mail de TelSite";
$MailHeader .= "From: ".$champMail;
$MailBody .= "\nNom :".$champNom;
$MailBody .= "\nAdresse Email :".$champMail;
$MailBody .= "\nTéléphone :".$champTel;
$MailBody .= "\nCommentaires :".$champRedac;
mail($MailTo, $MailSubject, $MailBody, $MailHeader);
?>
</body>
</html>
Sergiolebo