RedPaladin Attention j'arrive !! | Hello,
J'ai un problème avec ce script mail. Il n'affiche pas d'erreur mais je recois pas le mail !! Ou est l'erreur ?
Code :
- <?php
- /* Envoi le mail à tous le staff si le mail n'est pas "Technique". */
- if ($sujet == "Technique" ) {
- $email= "ReD <redpaladin_@hotmail.com>";
- } else {
- $email = "ReD <redpaladin_@hotmail.com>".", ";
- $email .= "RWMnet <rwmnet@hotmail.com>".", ";
- $email .= "DiPs <dipsdips@hotmail.com>";
- }
- /* subject */
- $sujet = "LAN 4 FuN : $sujet ($priorite)";
- /* message */
- $message = '
- <html>
- <head>
- <title>Lan 4 FuN</title>
- </head>
- <body>
- Bonjour,<br>
- <br>
- $question<br>
- <br>
- $nom<br>
- **********************************************<br>
- Cette email a pour sujet $sujet<br>
- Vous pouvez y repondre à cette adresse mailto:$email<br>
- <br>
- Merci @++ Lan 4 FuN<br>
- **********************************************<br>
- ';
- /* To send HTML mail, you can set the Content-type header. */
- $headers = "MIME-Version: 1.0\r\n";
- $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
- /* additional headers */
- $headers .= "From: $nom < $email >\r\n";
- /* and now mail it */
- mail($email, $sujet, $message, $headers);
- ?>
|
|