[imp] Problems opening attachments sent by imp 2.3.7 using Eudora

Chuck Hagenbuch chuck@horde.org
Wed, 26 Sep 2001 15:45:56 -0400


Quoting Kris von Mach <dev@swishmail.com>:

> Actually the problem is in /lib/MIME/Message.php at the end:
> 
>          // Make sure that all newlines are \r\n.
>               $message = preg_replace("/([^\r]{1})\n/", "\\1\r\n", $message);
>                $message = preg_replace("/\n\n/", "\n\r\n", $message);
> 
> commenting those two lines solves my problem. I am not sure, but maybe you 
> are not suppose to have \r\n but \n between new lines for a encoded
> attachment.

I can't produce any problems with the latest versions of both Horde and IMP, 
reading emails from either IMP or Netscape Messenger, both the sent emails and 
the copies saved to my sent mail folder. Are you sure you have the latest of 
_both_ Horde and IMP?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"What was and what may be lie, like children whose faces we cannot see, in the 
arms of silence. All we ever have is here, now." - Ursula K. Le Guin