On Sat, 07 Oct 2006 06:00:28 +1300
Steve Holdoway <[EMAIL PROTECTED]> wrote:


> I've stuck with roundcube, after a suggestion from a lister a while back. 
> Does what it says on the can.
> 
> Ilohamail doesn't seem to be an active project, which is a bit of a worry. 
> Still, it's all php. Might have a look later.
> 
> Steve
> 
> Steve

Might be worth modifying smtp.inc, line 306'ish ( version 0.9 )

       //else, send message
       $message = str_replace("\r\n", "\n", $message);
       $message = str_replace("\n", "\r\n", $message);
       $message = str_replace("\r\n.\r\n", "\r\n..\r\n", $message);
       fputs($conn, $message);
       fputs($conn, "\r\n.\r\n");

to

       //else, send message
       $message = str_replace("\r\n", "\n", $message);
       //$message = str_replace("\n", "\r\n", $message);
       $message = str_replace("\r\n.\r\n", "\r\n..\r\n", $message);
       fputs($conn, $message);
       fputs($conn, "\r\n.\r\n");

and see if this helps. Software was obviously developed on pc's ( fopen "rb" ! 
) which handles eols differently.

I haven't tried this, but it's the work of 2 minutes to try.

hth,

Steve

Reply via email to