[thelist] Line breaks in plain text email

Barney Carroll barney.carroll at gmail.com
Mon Apr 6 11:48:46 CDT 2009


That is absolutely fascinating.

Thanks so much guys, I had no idea — I thought the choice between
single/double quote marks was pure preference.

Regards,
Barney Carroll
Web designer & front-end developer

web: www.clickwork.net

mobile: +44 (0) 7594 506 381
home: +44 (0) 118 975 0020

twitter: @barneycarroll


2009/4/6 Symeon Charalabides <symeon at systasis.com>

> It sounds like you're using single, instead of double, quotes to enclose
> your line breaks. Using double quotes should fix that.
>
> Also, you may have to use \r\n instead of simply \n for some windows-native
> email clients, but don't quote me on this.
>
> >  I am writing a plain text email feedback script and can't seem to get
> line
> >  breaks.
> >
> >  I have tried /r, /n, \r, \n, //r, //n, %0D%0A … Everything gets printed
> as
> >  is (except in the case of double slashes, in which case one of them gets
> >  escaped). As far as I can see there is no PHP equivalent to writeln or
> >  writeLine, which is irritating.
>
> Symeon Charalabides (cosmopolite trainee)
> -----------------------------------------
> http://www.systasis.com
> http://twitter.com/bluesymeon
> http://www.linkedin.com/in/symeon
> http://www.last.fm/user/bluesymeon
> --
>
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>



More information about the thelist mailing list