Re: imap_open('/path/to/mbox', '', '')

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, December 16, 2006 4:39 am,
replies-lists-php@xxxxxxxxxxxxxxxxxxxxx wrote:
>> Would converting Un*x newlines to Windows on the entire mbox help?
>> Seems to me that the RFC is quite specific about the newlines of
>> headers and body, and converting the mbox in toto is unlikely to be
>> useful.

> you shouldn't be transferring the mbox file as a binary ftp. the file
> is a text file, that is sensitive to the CR/LFs. by moving it binary
> you're not getting the unix->dos CR/LF conversions. do an ascii ftp
> transfer and see if that helps.
>
> that may not resolve your problem, but that was the one thing that
> stood out.

I have since done a simple test on a one-email mbox, converting Un*x
newlines to Windows newline in PFE, and it didn't help.

To complete the test, I suppose I should binary FTP the one email mbox
back up to the Linux box and make sure imap_open can read it, but
since it's an excerpt of the 14000 message mbox that imap_open can
already read on the Linux box, I'd be pretty surprised if Linux
imap_open can't read a snippet from a file it can already read...

I'll probably do that and file it as a bug report if I don't make any
progress on any other front.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux