Re: copyMessage

Mark Overmeer <[email protected]> Tue, 31 May 2005 16:51:57 +0200
Newsgroups gmane.comp.lang.perl.modules.mail-box
Organization MARKOV Solutions
Message-ID <[email protected]>
* danny Zak ([email protected]) [050530 17:18]:
> Hallo mailbox,
> 
> i'm opening two mailboxes ;
>   source = pop3 box
>   destination = folder type mbox
> 
>   when i do a foreach for all the source message and try to do a
>   copyMessage to my destination mbox folder everything is being
>   copied; BUT there is one small problem; the content of pure text
>   emails (so text/plain) is for each line seperated with a blankline
> 
>   orginal message body =
>   [
>   1
>   2
>   3
>   4
>   ]
> 
> 
>   copied message body =
>   [
>   1
> 
>   2
> 
>   3
> 
>   4
> 
>   ]
> 
>   The funny thing is with multipart/alternative this is not happening
>   (not even in the content)

This looks like a CRLF/LF/CR   problem.  Maybe CRLF is translated into
LFLF.  Which platforms are the server and the client?
Debugging this on a distance is a bit hard.  Could you try to figure-out
what is received from the pop server?
-- 
               MarkOv

------------------------------------------------------------------------
drs Mark A.C.J. Overmeer                                MARKOV Solutions
       [email protected]                          [email protected]
http://Mark.Overmeer.net                   http://solutions.overmeer.net