Hi there,

We have noticed that our gmail account can receive html emails from our script but our domain mailserver cannot.

After testing I have discovered that if I change the Content-Type to plain text, we get them fine, but when going back to html,only gmail gets them.

Anyone have any ideas how we can get around this?

Heres the script

$headers = "MIME-Version: 1.0" . $newLine;
	$headers .= "Content-type: text/html; charset=iso-8859-1" . $newLine;
	$headers .= "To: $nameto <$to>" . $newLine;
	$headers .= "From: ".$fromname."<".$from.">" . $newLine;
	if(!mail($to,"test", $body, $headers)){