This class inherits from the Session class, and provides two IMAP-specific output functions.
Creates a new ImapSession for the Mailbox m to be accessed using imap. If readOnly is true, the session is read-only.
This reimplementation sends a BYE response and lets it be processed in the usual manner.
This reimplementation ensures that the ImapSession doesn't think the EXISTS number is higher than what the IMAP client thinks after the message with UID u is expunged.
This private helper starts/sends whatever flag updates are needed, using t for the database work.
Emits whatever responses we can to the IMAP client, using t for the database work.
Records that no flag/annotation/modseq update is to be sent for ms. ImapSession may send one anyway, but tries to avoid it.
Returns a pointer to the IMAP connection that's using this session.
Records that set was fetched while also expunged. If any messages in set have already been recorded, recordExpungedFetch() summarily closes the IMAP connection.
Sends a FLAG blah, used by Flag whenever the flag list grows.
This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.