[Solar-talk] Solar_Mail

Antti Holvikari anttih at gmail.com
Thu Jan 25 11:32:05 PST 2007


On 1/25/07, Rodrigo Moraes <rodrigo.moraes at gmail.com> wrote:
> On 1/25/07, Antti Holvikari wrote:
> > Yes, it's because the default EOL is \r\n. Take a look at
> > Abovo_Invite::_mail()[1] where I replace unix newlines to \r\n. I'm
> > not sure thought which is the right solution for this :-(
> >
> > |1] http://abovo.googlecode.com/svn/trunk/Abovo/Invite.php
>
> Yup. I got nice messages changing the constant in Abovo_Mime, from "\r\n" to:
>
> const LINEEND = "\n";

I'm thinking that should maybe be a config key?

> That's it, then. The default EOL is Windows-like. :-|
>
> thanks, antti. it's working fine and it will be my mail library now. :-)

Cool, let me know how it turns out.

-- 
Antti Holvikari <http://phphalo.com>


More information about the solar-talk mailing list