Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.10.2
-
Fix Version/s: None
-
Component/s: Zend_Mail_Storage
-
Labels:None
Description
When calling the method: removeMessage in Zend_Mail_Storage_Maildir, the exception thrown is misleading. It unconditionally throws an exception and says: 'maildir is (currently) read-only'. That is false. If the feature has not been implemented yet, be honest and say something like, 'Method not implemented yet.' Do not give misleading messages. Why? This method is documented. Newbies like me expect it to work if it's in the docs. That's great that the docs are ahead of the code in this case, but the message should not be misleading.
Most importantly, finish this method.
If I can help in any way, let me know.
Thanks!
references:
http://framework.zend.com/svn/framework/standard/tags/release-1.10.2/library/Zend/Mail/Storage/Maildir.php
Actually it is implemented, but you have to use Zend_Mail_Storage_Writable_Maildir, which also extends Zend_Mail_Storage_Folder_Maildir and includes quota support. Any help getting that in the docs in a comprehensible way is appreciated.