Re[2]: copyMessage

danny Zak <[email protected]> Tue, 31 May 2005 17:05:42 +0200
Newsgroups gmane.comp.lang.perl.modules.mail-box
Organization belGOnet.com
Message-ID <[email protected]>
Hallo Mark,

pop3 server = linux running qpopper
script = running on a other linux box
new destiation mbox folder = linux platform

client pop3 = windows platform

i tried to do a ->body of the mail that is received on popside and
display it to the console .. there are NO extra line feeds in this
message (visualy.. i should maybe convert it to utf to see if there is
\015\012 in it ?)

is there maybe a way to reconvert the LFLF to CRLF ? or visa-versa ?
dinsdag 31 mei 2005, 16:51:57, schreef u:

> * 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?



-- 
Met vriendelijke groet,
danny                            mailto:[email protected]