From: Brad D. <brad.donison@LeVault.com> - 2003-08-30 03:04:54
|
Jonathan Angliss said: > >> I noticed that the mail_fetch plugin no longer is able to append messages >> to the IMAP server if using yesturdays CVS. Actually it is able to append >> the very first message, but thinks there is an error and bails. Not sure >> if it worked beforehand as I only installed the plugin yesturday. I >> haven't looked at the problem yet, but just thought that I would ask for >> a heads up w.r.t. any sqimap capabilities or requirements that are new in >> 1.5. Or has somebody looked at this already and found it to be a plugin >> issue rather than an issue with the core? > > That particular plugin hasn't been modified in a while (that I can find > any details of). This could mean there are some other things it's getting > caught on. Can you look at the content of that message it is getting > caught on? or is it always the second message, regardless of what is on > there? Ya I tried it with several different messages and it always grabs and appends the first message only. The first message stays on the POP server and gets properly appended to my INBOX just fine. But mail_fetch doesn't think so. Here's a snapshot of the output of the plugin installed in 1.5CVS: ----------- mail_fetch output ----------- Opening IMAP server Opening POP server Login OK: Inbox contains [11] messages Fetching UIDL... Deleting messages from server... Fetching message 1 Error Appending Message! Array Closing POP Logging out from IMAP Saving UIDL ----------------------------------------- Running it a second or third time gives the exact same result as the first email message was never really deleted. I've tried it with and without attachments and it behaves the same way. It seems to be spitting out the error message from fetch.php line 269. Looking at it I wonder if there was a typo there as well, here is a small portion of the context starting at line 263 in fetch.php for this plugin: $Line = fgets($imap_stream, 1024); if (substr($Line, 0, 1) == '+') { fputs($imap_stream, $Message); fputs($imap_stream, "\r\n"); sqimap_read_data($imap_stream, "A3$i", false, $response, $message); if ($response != 'OK') { Mail_Fetch_Status(_("Error Appending Message!")." ".$message ); Mail_Fetch_Status(_("Closing POP")); etc... l8'r, Brad -- Innovation or bust |