Php envoi mail

Bonjour lorsque j'envoie un email html et que je le réceptionne sur ma boite outlook
il y a un drôle de code avant mon message qui est :

Content-Transfer-Encoding: 8bit \r\nX-Sender: \r\nX-Mailer: PHP\r\nX-auth-smtp-user: contact@rbs.fr \r\nX-abuse-contact: stop@rbs.fr \r\n Message-Id: <20100112145256.D9CF92EE47@240plan.ovh.net> Date: Tue, 12 Jan 2010 15:52:56 +0100 (CET) X-Ovh-Tracer-Id: 10143232262361146036 X-Ovh-Tracer-Id: 10146047012123449524 X-Ovh-Remote: 188.165.55.171 (58.mail-out.ovh.net) X-Ovh-Local: 213.186.33.29 (mx1.ovh.net) X-Spam-Check: DONE|U 0.5/N

mais lorsque je consulte sur yahoo ou autre ça fonctionne...
Mes entete d'email sont :
$headers ='From: "MOI"<moi@moi.fr>'."\r\n";
$headers .='Reply-To: moi@moi.fr'."\r\n";
$headers .= "Content-Type: text/html; charset=\"ISO-8859-1\"; DelSp=\"Yes\"; format=flowed \r\n";
$headers .= "Content-Disposition: inline \r\n";
$headers .= "Content-Transfer-Encoding: 7bit \r\n";
$headers .= "MIME-Version: 1.0";

Merci de votre aide
Configuration: Windows XP
Firefox 3.0.17

2 réponses

  1. bonjour et merci de ton aide
    donc je viens d'essayer aucun code n'apparait donc le problème vient bien de mon mail
    merci de ton aide
    1. Contributeur
      Bonsoir,

      Essai l'envoi d'un mail simple après on verra si c'est lié à outlook ou pas.

      <?php
      $adresse = "ton mail";
      $titre = "essai mail";
      $message = "Un essai pour voir fonctionnement avec outlook";

      mail($adresse, $titre, $message);

      ?>

      @+