ZF-3081: [Zend_Mail_Protocol_Imap] Append message
Description
Hello,
I have found a bug in Imap protocol to append a message to a box. Excuse me for my english, and i hope you will understand what i mean.
Here is an example of a correct APPEND operation :
. APPEND user.pdupont {152}
+ go ahead
From:
To:
Subject: Les lapins d'Australie
Ne pas les confondre avec les kangourous.
. OK [APPENDUID 896443059 1408] Completed
But in "Zend_Mail_Protocol_Imap::append", it throw "requestAndResponse", which "_assumedNextLine" with '+ OK'. But it needs for APPEND '+ go ahead'. So to resume :
send 'APPEND '. $folder .' {'. strlen($message) .'}'; waiting for '+ go ahead' send $message
And of course, could the uid be return when we call $uid = $imap->appendMessage(...) ?
Thanks a lot, Vincent
Comments
Posted by Wil Sinclair (wil) on 2008-04-18T15:48:53.000+0000
Please evaluate and categorize/assign as necessary.
Posted by Nico Edtinger (nico) on 2008-04-22T13:26:57.000+0000
Thanks. We now don't check for the response text, only for '+ '
Posted by Wil Sinclair (wil) on 2008-09-02T10:38:56.000+0000
Updating for the 1.6.0 release.