NYCPHP Meetup

NYPHP.org

[nycphp-talk] HTML email

Adam Maccabee Trachtenberg adam at trachtenberg.com
Tue Apr 20 14:12:21 EDT 2004


On Tue, 20 Apr 2004, John Corry wrote:

> It was with the message headers.
>
> On the old server (and according to the php docs) headers looked like:
> $header .= "From: me at mydomain.com\n\r";
>
> On the new server, most of those weren't working, so I started messing with
> the line endings....
> $header .= "From: me at mydomain.com\n";
> That seems to work.

The line feed ending bit of the code keeps changing as people try to
get it to work with the maximal number of servers. Some like
"\n"; others like "\n\r"; etc.

-adam

-- 
adam at trachtenberg.com
author of o'reilly's php cookbook
avoid the holiday rush, buy your copy today!



More information about the talk mailing list