#ifndef ____IMAP_FETCH_h__ # define ____IMAP_FETCH_h__ # include "IMAPCommand.h" namespace mail { // Shared by FETCH and "UID FETCH" (see __IMAP_UID.cpp) - uidMode // controls both how the sequence-set argument is interpreted and // whether UID is force-included in every response line (RFC 3501 // 6.4.8: UID FETCH always returns UID whether or not it was asked // for, so a client can tell which message is which). int fetchImpl(coreutils::ZString &request, IMAPSession &session, IMAPServer &server, bool uidMode); class __IMAP_FETCH : public IMAPCommand { int processCommand(coreutils::ZString &request, IMAPSession &session, IMAPServer &server) override; }; } #endif