Forum Moderators: coopster
$header = "Content-Type: text/html; charset=iso-8859-1\n";
I tested with creating links within the editor, and they show in the email and are clickable...however the unsubscribe link show below in bold isn't clickable.
=====================
$header = "Content-Type: text/html; charset=iso-8859-1\n";
$header .= "From: " . $site_name . "<" . $admin_email . ">\n";
$header .= "\n";
while (list($full_name,$email) = mysql_fetch_row($result))
{
$msg = "<html>;
$msg .= "<head>";
$msg .= "Dear " . stripslashes(str_replace('_', ' ', $full_name)) . ",<br><br>\r\n\r\n";
$msg .= $_POST['clienteditor'];
$msg .="<br><br>----- *** Notice *** -----<br><br>\r\n\r\n";
$msg .= "If you don't wish to receive our newsletter anymore, please click the link below for safe and permanent unsubscription.<br><br>\r\n\r\n";
$msg .= "$websiteUrl/massemail/confirm.php?action=remove&email=$email";
$msg .= "</html>";
mail($email, stripslashes($_POST['subject']). " - " . date("l \\t\h\e jS"), stripslashes($msg), $header);
=====================
I have tried many things and haven't had any luck. I think becuase I stared at code to integrate the editor now I am probably overlooking something simple. HTML email can get hairy, but they insist on sending them because they want to edit it like "word" and send emails to their customers. Thank you for any suggestions.