Zend Framework

[Zend_Mail_Protocol_Imap] Append message

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.6.0
  • Component/s: Zend_Mail
  • Labels:
    None

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

Activity

Hide
Wil Sinclair added a comment -

Please evaluate and categorize/assign as necessary.

Show
Wil Sinclair added a comment - Please evaluate and categorize/assign as necessary.
Hide
Nico Edtinger added a comment -

Thanks. We now don't check for the response text, only for '+ '

Show
Nico Edtinger added a comment - Thanks. We now don't check for the response text, only for '+ '
Hide
Wil Sinclair added a comment -

Updating for the 1.6.0 release.

Show
Wil Sinclair added a comment - Updating for the 1.6.0 release.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: