Code: Select all
$to = 'email@email.com';
$subject = 'Testing emailing';
$message = '<html>
<head>
</head>
<body style="bgcolor: #DDDDDD;">
<H4>BOOH</H4>
</body>
</html>';
$headers = 'From: Email Tester' . "\r\n";
$headers .= 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=utf-8' . "\r\n";
$check = mail($to, $subject, $message, $headers);
if (!$check)
{
echo 'Problemo';
} else
{
echo 'OK';
}EDIT: Seems to work, I was just a bit impatient not recieving it so long.