sending HTML email

sending HTML email

am 05.10.2009 16:27:16 von John Corry

--001636025dae16bfd9047530e9e9
Content-Type: text/plain; charset=ISO-8859-1

I've inherited a PHP application, first task of which was relocating to a
new server.
We've installed and configured all of the files on a dedicated linux server
at 1 and 1 (using qmail as an MTA).

Since the move, the client is complaining that *some* of the recipients of
the HTML email that the server sends out to all of the users are receiving
plain HTML code in their mail clients...not the nice, rendered, styled
content they intend.

It looks fine to me.

I found one small error in the HTML that was sent and fixed it (there may be
more)...

But the client is telling me that this is a new problem as of the server
move.

Any suggestions which direction to look to try to resolve this?

--
John Corry
PHP developer - 3by400, Inc
http://www.3by400.com

--001636025dae16bfd9047530e9e9--

Re: sending HTML email

am 05.10.2009 16:30:36 von Ashley Sheridan

--=-/zw9GVIAh4abIvHDoNju
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Mon, 2009-10-05 at 10:27 -0400, John Corry wrote:

> I've inherited a PHP application, first task of which was relocating to a
> new server.
> We've installed and configured all of the files on a dedicated linux server
> at 1 and 1 (using qmail as an MTA).
>
> Since the move, the client is complaining that *some* of the recipients of
> the HTML email that the server sends out to all of the users are receiving
> plain HTML code in their mail clients...not the nice, rendered, styled
> content they intend.
>
> It looks fine to me.
>
> I found one small error in the HTML that was sent and fixed it (there may be
> more)...
>
> But the client is telling me that this is a new problem as of the server
> move.
>
> Any suggestions which direction to look to try to resolve this?
>

By any chance are the offending emails all being displayed on Outlook or
Outlook Express, specifically version 2002 (part of Office XP) If so,
then you may need to change any \r\n into \n only in the headers that
are being sent, which seemed to fix the issue for me. Seems that this
version of the software has major problems with both characters being
used as EOL markers.


Thanks,
Ash
http://www.ashleysheridan.co.uk



--=-/zw9GVIAh4abIvHDoNju--

Re: sending HTML email

am 06.10.2009 02:57:12 von Manuel Lemos

Hello,

on 10/05/2009 11:27 AM John Corry said the following:
> I've inherited a PHP application, first task of which was relocating to a
> new server.
> We've installed and configured all of the files on a dedicated linux server
> at 1 and 1 (using qmail as an MTA).
>
> Since the move, the client is complaining that *some* of the recipients of
> the HTML email that the server sends out to all of the users are receiving
> plain HTML code in their mail clients...not the nice, rendered, styled
> content they intend.
>
> It looks fine to me.
>
> I found one small error in the HTML that was sent and fixed it (there may be
> more)...
>
> But the client is telling me that this is a new problem as of the server
> move.
>
> Any suggestions which direction to look to try to resolve this?

You may want to take a look at this slide presentation. It is from a
talk precisely about issues that prevent messages from reaching the
destination:

http://www.phpclasses.org/browse/video/3/package/9.html

Look in special at slide 19, as it presents several reasons that may
make your messages be confused with spam.

--

Regards,
Manuel Lemos

Find and post PHP jobs
http://www.phpclasses.org/jobs/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php