Robin Elfrink wrote:
> > a APPEND "Drafts" (\Seen) {555145}
> < a NO [OVERQUOTA] Quota exceeded (mailbox for user is full)
> Attached patch at least fixes the not-parsing-and-client-hanging part,
> logging the actual response line to the error log. But a proper error
> message to the user would be better.
>
> Does anybody have any idea if IMAP errors are standardized, and if so,
http://tools.ietf.org/html/rfc5530
> how would I get the message from program/lib/imap.inc back to
> program/steps/mail/sendmail.inc, to show the user a proper message?
Currently there's no way. You need to extend imap classes and
iil_ParseResult() to handle result code/text.
--
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Developer http://roundcube.net
_______________________________________________
List info: http://lists.roundcube.net/dev/