hovercraft
Technical User
Hello,
I have a problem when I am using mail() to send an html formated email. It works great, except that I need to put in a bunch of Legal verbiage from our lawyers which in of itself is over 998 characters. Any time I hit that threshold of 998 the entire email is blank...it sends, but it's blank.
Is there any way of getting around this?
Here is my header info
Thank you for any assistance!
I have a problem when I am using mail() to send an html formated email. It works great, except that I need to put in a bunch of Legal verbiage from our lawyers which in of itself is over 998 characters. Any time I hit that threshold of 998 the entire email is blank...it sends, but it's blank.
Is there any way of getting around this?
Here is my header info
Code:
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: paymentcenter@xxxxx.com' . "\r\n" .
'Reply-To: xxxxxxx@xxxxxx.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
Thank you for any assistance!