ZF-3081: [Zend_Mail_Protocol_Imap] Append message

Issue Type: Bug Created: 2008-04-09T02:43:38.000+0000 Last Updated: 2008-09-02T10:38:56.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: Vincent Clair (vincentc) Assignee: Nico Edtinger (nico) Tags: - Zend_Mail

Related issues: Attachments:



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 :

<pre class="highlight">
. APPEND user.pdupont {152}
+ go ahead
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


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.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.