52 const bool examine = (command.
getName() ==
"EXAMINE");
53 const string &srcmailbox = command.
getMailbox();
63 mailbox = depot.
get(canonmailbox);
83 for (; i != mailbox->
end(); ++i) {
99 bincClient <<
"*" <<
" OK [UNSEEN " << unseen <<
"] Message "
100 << unseen <<
" is first unseen" << endl;
112 <<
" FLAGS (\\Answered \\Flagged \\Deleted \\Recent \\Seen \\Draft \\*)"
117 <<
" OK [PERMANENTFLAGS (\\Answered \\Flagged \\Deleted "
118 <<
"\\Seen \\Draft \\*)] Limited"
virtual Mailbox * get(const std::string &path) const
virtual bool setSelected(Mailbox *)
const std::string & getLastError(void) const
virtual std::string mailboxToFilename(const std::string &m) const =0
virtual Mailbox * getSelected(void) const
unsigned int getSqnr() const
virtual bool selectMailbox(const std::string &name, const std::string &s_in)=0
const std::string & getLastError(void) const
virtual void closeMailbox(void)=0
virtual iterator begin(const SequenceSet &bset, unsigned int mod=INCLUDE_EXPUNGED|SQNR_MODE) const =0
virtual unsigned int getUidValidity(void) const =0
virtual iterator end(void) const =0
virtual unsigned int getUidNext(void) const =0
void setReadOnly(bool readOnly)
The Message class provides an interface for IMAP messages.
virtual unsigned char getStdFlags(void) const =0
const std::string & getName(void) const
void setMailbox(const std::string &s_in)
const std::string & getMailbox(void) const
bool getUidMode(void) const
virtual ParseResult parse(Request &) const
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
static SequenceSet & all(void)
void setLastError(const std::string &error) const
void setResponseCode(const std::string &error) const
static Session & getInstance(void)
Declaration of miscellaneous convertion functions.
Declaration of the IODevice class.
Declaration of the IOFactory class.
Declaration of the Mailbox class (Mailbox is logical container)
std::string toString(int i_in)
Operator::ParseResult expectSPACE(void)
std::string toCanonMailbox(const std::string &s_in)
bool pendingUpdates(Mailbox *, int type, bool rescan, bool showAll=false, bool forceScan=false, bool uidfetchflags=false)
Operator::ParseResult expectCRLF(void)
Operator::ParseResult expectMailbox(std::string &s_in)
Declaration of all operators.
Declaration of a recursive descent IMAP command parser.