HTML email..
Dette script virker:$to = "hj@pcproblemer.dk";
$from = "email@adresse.dk";
$reply_to = "email@adresse.dk";
$txt = "http://www.domain.dk";
$htm = "<b><i>Hej der</i></b>";
$subj = "Emne";
$header = "From: ".$from."\r\n";
$header .= "Reply-To: ".$reply_to."\r\n";
$header .= "MIME-Version: 1.0\r\n";
$header .= "Content-Type: Multipart/Alternative; boundary=\"part boundary\"";
$body = "--part boundary\r\n";
$body .= "Content-Type: text/plain; charset=ISO-8859-1\r\n";
$body .= "\r\n" . $txt . "\r\n";
$body .= "\r\n--part boundary\r\n";
$body .= "Content-Type: text/html\r\n";
$body .= "\r\n" . $htm . "\r\n";
$body .= "\r\n--part boundary--\r\n";
$subject = $subj;
mail($to, $subject, $body, $header);
?>
Content-Type: Multipart/Alternative; boundary="part boundary"
Return-Path: anonymous@domainteam.dk
X-OriginalArrivalTime: 04 Jun 2005 17:03:05.0574 (UTC) FILETIME=[46674060:01C56927]
--part boundary
Content-Type: text/plain; charset=ISO-8859-1
http://www.domain.dk
--part boundary
Content-Type: text/html
<b><i>Hej der</i></b>
--part boundary--
Det er beskerden jeg får??
