Well I
am currently begging for assistance on another forum, so now seems like a good time to answer this whilst I wait for help myself.
I'll post what I know here, as it may be useful to others (and someone else has already contact me about this!).
If I remember rightly, hotmail and Yahoo are both super anal about the way line breaks are used in headers. Get them wrong and they will assume that you are a spammer instantly, even with non-spammy content.
Here is the function that I
am using. I think that this originally came from the php.net site . If you are not using PHP, then it should be easy enough to convert to whatever you are using
PHP Code:
function send_mail($myname, $myemail, $contactname, $contactemail, $subject, $message) {
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-type: text/plain; charset=iso-8859-1\n";
$headers .= "X-Priority: 1\n";
$headers .= "X-MSMail-Priority: High\n";
$headers .= "X-Mailer: php\n";
$headers .= "From: \"".$myname."\" <".$myemail.">\n";
return(mail("\"".$contactname."\" <".$contactemail.">", $subject, $message, $headers));
I know that this one gets through both Yahoo & Hotmail. Good luck with it.