1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
<?
$add="<a href="mailto:alfa@alfa.fr">alfa@alfa.fr</a>";
$subject ="nonnon";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From:<alfa@alfa.fr>\n";
$texte="<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">
<HTML><HEAD><TITLE>Document sans titre</TITLE>
</HEAD>
<BODY>
<TABLE cellSpacing=0 cellPadding=0 width=672 border=0>
<TBODY>
<TR>
<TD width=119><A
href=\"<A href="http://www.alfa.fr/index.html\"><IMG">http://www.alfa.fr/index.html\"><IMG
src=\"C:/Program Files/EasyPHP1-8/www/Nouveau dossier/logo.gif\" width=\"119\" height=\"104\" border=\"0\"></A></TD>
</TR></TBODY></TABLE></BODY></HTML>";
// D'autres en-têtes : errors, From cc's, bcc's, etc :
// Pour envoyer du mail au format html, vous pouvez configurer le type content-type :
mail($add, $subject, $texte, $headers);
?> |
Partager