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

From: Date: Sat, 16 Dec 2006 19:33:16 +0000
Subject: Re: imap_open('/path/to/mbox', '', '')
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-245918@lists.php.net to get a copy of this message
On Sat, December 16, 2006 4:39 am, replies-lists-php@listmail.innovate.net 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?

« previous php.general (#245918) next »