google est ton ami :
http://www.google.fr/search?hl=fr&ie=UTF-8&oe=UTF-8&c2coff=1&q=envoi+mail+format+html+php&btnG=Recherche+Google&meta=
---> http://www.toutestfacile.com/phpinit.php?tef_site=php&chap=mail1
--->
< ?php
$destinataire = " testemail@toutestfacile.com";
$expediteur = " moi@monsite.com";
$reponse = $expediteur;
echo " Ce script envoie un mail au format HTML à $destinataire";
$codehtml=
" <html><body>" .
" <h1>Test Email</h1>".
" <b>Ceci est un document HTML</b><br>" .
" Avec differentes tailles de caractères et < font color=\"red\">couleurs</font>" .
" </body></html>";
mail($destinataire,
" Email au format HTML",
$codehtml,
" From: $expediteur\r\nReply-To: $reponse\r\nContent-Type: text/html; charset=\"iso-8859-1\"\r\n");
? >