Pour être correct et propre, ça donne ceci:
--------------------------
Date: _date_ CRLF
Reply-to: _name_ < _mail_> CRLF
From: _name_ < _mail> CRLF
MIME-Version: 1.0 CRLF
Content-Type: multipart/alternative; CRLF
boundary="-=_NextPart_" CRLF CRLF
This is a multi-part message in MIME format.CRLF CRLF
---=_NextPart CRLF
Content-Type: text/plain;
charset="US-ASCII" CRLF
Content-Transfer-Encoding: 7bit CRLF CRLF
_PlainText_ CRLF CRLF
---=_NextPart CRLF
Content-Type: text/html
charset="US-ASCII" CRLF
Content-Transfer-Encoding: 7bit CRLF CRLF
_HtmlText_ CRLF CRLF
---=_NextPart_--
--------------------------
_date_ = la date, avec php: date("l j F Y, G:i");
_name_ = Nick, Nom, Prénom, . .. ( exemple: jarose)
_mail_ = Adresse mail
_NextPart = Nombre aléatoire ( attention il faut garder le même pour tout les bounds), exemple : _Part-24557321045
_PlainText = texte pur, et non html, pour ceux qui ont un client mail absent de cette dernière fonctionnalité
_HtmlText = En html, enfin !
CRLF = \r\n ou \n
Dans cette exemple, les textes seront encodés en Quoted-Printable, du fait qu´on a spécifié 7Bits ( table us: pas d´accents, etc)
-> Conforme au standart MIME: http://rfc.net/rfc1521.html ( Je crois qu´il existe une traduction fr)