we are trying to send HTML emails in php5 - we have set mime types but all we get is plain text emails. here is the code:

$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-Type: text/html;\n";

mail($to,$subject,$message,$headers);

but still only plain text - is there anything we have to mod on the server or in the code?

Cheers
Andre

    You may need to use "\r\n" as the header separator instead of just "\n".

      Write a Reply...