<?php
$modtager = "testmail1231@hotmail.com";
$emne = $subject;
$from = "From: Jens Jensen <jens@mitdomæne.dk>";
$besked = "Hej";
$header = "MIME-Version: 1.0" . "\r\n";
$header .= "Content-type: text/html; charset=iso-8859-1" . "\r\n";
$header .= "$from\r\n";
mail($modtager, $emne, $besked, $header);
?>