Hej
Jak wyslac mejla w formie pliku html ?
znalazlem kod ale niedziala :
$mail_header .= "Disposition-Notification-To:\n";
$mail_header .= "Return-Path:\n";
$mail_header .= "Errors-To:\n";
$mail_header .= "Prevent-NonDelivery-Report:\n";
$mail_header .= "MIME-Version: 1.0";
$mail_header .= "\nContent-Type: multipart/alternative;";
$mail_header .= "\n\nThis is a multi-part message in MIME format --";
$mail_header .= "\n--";
$mail_header .= "\nContent-Type: text/html; charset=iso-8859-2";
$mail_header .= "\nContent-Transfer-Encoding: 7bit";
$mail_header .= "\n\n";
$mail_header .= "\n<html><head><META HTTP-EQUIV=\"Content-type\" CONTENT=\"text/html; charset=iso-8859-2\"></head>";
$mail_header .= "\n<body BGCOLOR=\"#F0F0F0\" >";
$mail_header .= "\n<TABLE ALIGN=\"LEFT\" BORDER=\"2\" width=\"100%\" STYLE=\"font-family: verdana; font-size: 10pt\">";
$mail_header .= "\n <tr><td colspan=\"2\">TRESC</td>";
$mail_header .= "\n</table></body></html>";
mail($_POST['to'], 'nowa', $_POST['message'], $mail_header);