NYCPHP Meetup

NYPHP.org

[nycphp-talk] Line break string evaulation help

Tim Gales tgales at tgaconnect.com
Fri Jan 13 16:28:45 EST 2006


cliff writes:
> define('NEWLINE', "\n");
> 
> define ("EMAILFOOTER", NEWLINE.
> 'blah, blah, blah.'.NEWLINE.
> 'blah, blah, blah.'.NEWLINE.
> 'To login, click on the following link: '.URL);
> 
> This works fine when viewing an email generated by this code in a browser-
> based email client, but fails to break lines in Microsoft Outlook on XP. 
> What am I doing wrong?

Windows typically expects a carriage linefeed combination
to signify the end of a line of text.


-- 

T. Gales & Associates
'Helping People Connect with Technology'

http://www.tgaconnect.com



More information about the talk mailing list