[Imap-protocol] Handle failures during STORE command execution

Dave Cridland dave at cridland.net
Wed Jun 23 09:05:18 PDT 2010


On Wed Jun 23 16:41:21 2010, Norman Maurer wrote:

> a store 1:100 flags \Seen

>

> What should I return if the flag update fails for for message 3

> only?

> Do I still return the new flags for the rest of the messages (+just

> return the old flags for message 3) and response with ok or do I

> need

> to rollback all the changes made during processing the command and

> response with an error ?


You need to rollback.

Otherwise, most especially if FLAGS.SILENT were used, a client will
be unable to discover what the partial failure was.

Dave.
--
Dave Cridland - mailto:dave at cridland.net - xmpp:dwd at dave.cridland.net
- acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
- http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade


More information about the Imap-protocol mailing list