English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I hope someone can offer some help here. I recently started sending out my news letter in HTML format with a PHP script, but my subscribers with Gmail addresses are just seeing the HTML code. Can anyone offer any help here?

Here's is the part of my headers for the encoding.

***********************
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
***********************

The message looks just fine in Yahoo mail and through three different pop accounts that I use.

2007-11-13 18:01:40 · 1 answers · asked by Justin H 7 in Computers & Internet Programming & Design

1 answers

For all gmail email addresses, use \n only instead of \r\n as separator.

2007-11-13 22:35:19 · answer #1 · answered by lawyers 3 · 0 0

fedest.com, questions and answers