6.0.0-beta1
7/24/25

[#4001] Could not retrieve the message from the mail server
Summary Could not retrieve the message from the mail server
Queue IMP
Queue Version HEAD
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester nyte (at) aurorarayne (dot) com
Created 06/03/2006 (6991 days ago)
Due
Updated 06/07/2006 (6987 days ago)
Assigned 06/04/2006 (6990 days ago)
Resolved 06/04/2006 (6990 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/07/2006 03:53:39 PM trey (at) bynari (dot) net Comment #10 Reply to this comment
Sorry to jump the gun... I haven't tried the latest patch yet either.
06/07/2006 03:52:42 PM trey (at) bynari (dot) net Comment #9 Reply to this comment
FYI, with use_mboxcache enabled, you can reply to messages, but 
headers get lost when using next/previous to view the next message.



Without use_mboxcache, I can reproduce this--replies broken.
06/04/2006 11:50:03 PM Michael Slusarz State ⇒ Resolved
 
06/04/2006 06:52:24 PM ben Comment #8 Reply to this comment
That takes care of it here.  Thanks!
06/04/2006 06:11:42 PM Michael Slusarz Comment #7
State ⇒ Feedback
Reply to this comment
Try what I just committed to lib/IMAP/MailboxCache.php.
06/04/2006 06:11:18 PM Michael Slusarz Deleted Original Message
 
06/04/2006 01:12:08 AM nyte (at) aurorarayne (dot) com Comment #6 Reply to this comment
Forgot to mention, this is reproducable on two systems.  One with
dovecot, the other with courier.  Both are running php 5.1.4 on
gentoo.
Thats interesting, and I realized I forgot to mention my system as 
well - which is also running dovecot as the IMAP server and php 5.1.4 
on gentoo...  Unfortunately, I don't have another system at the moment 
to test with.
06/04/2006 01:05:03 AM ben Comment #5 Reply to this comment
Forgot to mention, this is reproducable on two systems.  One with 
dovecot, the other with courier.  Both are running php 5.1.4 on gentoo.
06/04/2006 01:02:02 AM ben Comment #4 Reply to this comment
I can reproduce it, and the supplied patch fixes the problem for me, too.
06/04/2006 12:55:38 AM nyte (at) aurorarayne (dot) com Comment #3 Reply to this comment
hmmm, it must be something else on my end, then.. thats strange that 
adding a changeMbox call there works for me, I'll investigate my setup 
further..
06/04/2006 12:33:23 AM Michael Slusarz Comment #2 Reply to this comment
I can't reproduce this.  Replying to any message works correctly for 
me (using both search mailboxes and non-search mailboxes).  We 
shouldn't need a call to changeMbox() in compose.php because at the 
time we grab the message body text in IMP_Contents:: there is already 
a changeMbox() call there.
06/03/2006 10:38:33 PM nyte (at) aurorarayne (dot) com Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Could not retrieve the message from the mail server
Queue ⇒ IMP
New Attachment: compose.php.patch
State ⇒ Unconfirmed
Reply to this comment
When replying to a message in the current CVS for IMP the message 
"Could not retrieve the message from the mail server" appears at the 
top of the screen and the contents of the previous message are not 
quoted.



This seems to be related to this cvs update by slusarz on 5/31/06:

   Refactor code so Auth_imp:: only deals with authenticating to the 
IMAP server.

   Auth_imp no longer automatically opens a connection to the current 
mailbox. We

   must now manually call IMP_IMAP::changeMbox() anytime we are 
working with the

   IMAP stream and require a connection to a mailbox.  Much cleaner, and should

   eliminate any issues with clearing the 'recent' flag incorrectly.



enclosed is a small patch to compose.php which seems to fix this issue 
by adding a call to changeMbox().

Saved Queries