hello,
i can't seem to get my emails to render correctly in hotmail. emails are rendering correctly in gmail and entourage (the only other testing i can do--no outlook and no yahoo mail).
essentially, i'll send an email with <br /> and <strong> tags and those show up as straight text in hotmail but render correctly as linebreaks and bolded text in gmail and entourage.
so far as scope, i'm not sending one off emails. i'm building a large bcc list so i can open/close the mail() connection once rather than a gazillion times (slow and prone to timeout errors).
here's a snipet of the code i'm using:
$to="";
$from="you@yourURL.com";
$text_message = $_POST['text_message'];
$text_message= stripslashes($text_message);
//used the following for testing but not needed...so it's commented out now
//echo $text_messsage;
//modifying the message to include an opt-out
$text_message .= "<br />To opt out from these emails, please visit the_opt_out_page.com <br />";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$boundary = 'PM'.chr(rand(65, 91)).'------'.md5(uniqid(rand()));
$headers .= "Content-Type: multipart/alternative; boundary=\"$boundry\"\r\n";
$headers .= "Content-Transfer-Encoding: 7bit\r\n";
$headers .= "FROM: $from\r\n";
//email list below was generated with a loop matching specific criteria. works fine
$headers .= "BCC: $email_list\r\n";
$text_headers .= $headers;
$text_headers .= "Reply-To: you@yourURL.com\r\n";
///email the group
$mail = mail($to, $subject, $text_message, $text_headers);
if (!$mail)
{ $admin_message = "didn't work; oops. <br />"; }
i appreciate any help on this; spent hours so far looking around with no real [helpful and/or applicable] resources to be found. do let me know if you need more code or explaination of what i'm doing in order to better assess the situation.
cheers. :queasy: