imap.response

Members

Aliases

Tag
alias Tag = int

TODO: - add optional response code when parsing statuses

Enums

ImapResponse
enum ImapResponse
ListNameAttribute
enum ListNameAttribute

Functions

attachments
MimeAttachment[] attachments(IncomingEmailMessage message)
Undocumented in source. Be warned that the author may not have intended to support it.
checkBye
bool checkBye(string buf)
Undocumented in source. Be warned that the author may not have intended to support it.
checkContinuation
bool checkContinuation(string buf)
Undocumented in source. Be warned that the author may not have intended to support it.
checkPreAuth
int checkPreAuth(string buf)
Undocumented in source. Be warned that the author may not have intended to support it.
checkTag
ImapStatus checkTag(Session session, string buf, Tag tag)
Undocumented in source. Be warned that the author may not have intended to support it.
checkTryCreate
int checkTryCreate(string buf)
Undocumented in source. Be warned that the author may not have intended to support it.
coreUDA
string coreUDA(string uda)
Undocumented in source. Be warned that the author may not have intended to support it.
extractLinesWithPrefix
string[] extractLinesWithPrefix(string buf, string prefix, size_t minimumLength)
Undocumented in source. Be warned that the author may not have intended to support it.
extractLiterals
auto extractLiterals(string buf)
Undocumented in source. Be warned that the author may not have intended to support it.
findLiteral
LiteralInfo findLiteral(string buf)
Undocumented in source. Be warned that the author may not have intended to support it.
getTokenFromLine
string getTokenFromLine(string line, string uda)
Undocumented in source. Be warned that the author may not have intended to support it.
getValueFromLine
T getValueFromLine(string line, string uda)
Undocumented in source. Be warned that the author may not have intended to support it.
isControlChar
bool isControlChar(char c)
Undocumented in source. Be warned that the author may not have intended to support it.
isSpecialChar
bool isSpecialChar(char c)
Undocumented in source. Be warned that the author may not have intended to support it.
isTagged
bool isTagged(ImapStatus status)
isWhiteSpace
bool isWhiteSpace(char c)
Undocumented in source. Be warned that the author may not have intended to support it.
parseEnum
T parseEnum(string val, T def)
Undocumented in source. Be warned that the author may not have intended to support it.
parseStruct
T parseStruct(T agg, string line)
Undocumented in source. Be warned that the author may not have intended to support it.
parseUpdateT
T parseUpdateT(T t, string name, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
receiveResponse
auto receiveResponse(Session session, Duration timeout, bool timeoutFail)
Undocumented in source. Be warned that the author may not have intended to support it.
responseAuthenticate
ImapResult responseAuthenticate(Session session, Tag tag)
Undocumented in source. Be warned that the author may not have intended to support it.
responseCapability
ImapResult responseCapability(Session session, Tag tag)
Undocumented in source. Be warned that the author may not have intended to support it.
responseContinuation
ImapResult responseContinuation(Session session, Tag tag)
Undocumented in source. Be warned that the author may not have intended to support it.
responseEsearch
SearchResult responseEsearch(Session session, int tag)
Undocumented in source. Be warned that the author may not have intended to support it.
responseExamine
ImapResult responseExamine(Session session, int tag)
Undocumented in source. Be warned that the author may not have intended to support it.
responseFetchBody
BodyResponse responseFetchBody(Session session, Tag tag)
responseFetchDate
ImapResult responseFetchDate(Session session, Tag tag)
responseFetchFast
ImapResult responseFetchFast(Session session, int tag)
Undocumented in source. Be warned that the author may not have intended to support it.
responseFetchFlags
FlagResult responseFetchFlags(Session session, Tag tag)
Undocumented in source. Be warned that the author may not have intended to support it.
responseFetchSize
ImapResult responseFetchSize(Session session, Tag tag)
Undocumented in source. Be warned that the author may not have intended to support it.
responseFetchStructure
ImapResult responseFetchStructure(Session session, int tag)
Undocumented in source. Be warned that the author may not have intended to support it.
responseGeneric
ImapResult responseGeneric(Session session, Tag tag, Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
responseGreeting
ImapResult responseGreeting(Session session)
Undocumented in source. Be warned that the author may not have intended to support it.
responseIdle
ImapResult responseIdle(Session session, Tag tag)
Undocumented in source. Be warned that the author may not have intended to support it.
responseList
ListResponse responseList(Session session, Tag tag)
Undocumented in source. Be warned that the author may not have intended to support it.
responseMove
ImapResult responseMove(Session session, int tag)
Undocumented in source. Be warned that the author may not have intended to support it.
responseMultiSearch
SearchResult responseMultiSearch(Session session, int tag)
Undocumented in source. Be warned that the author may not have intended to support it.
responseNamespace
ImapResult responseNamespace(Session session, Tag tag)
Undocumented in source. Be warned that the author may not have intended to support it.
responseSearch
SearchResult responseSearch(Session session, int tag, string searchToken)
Undocumented in source. Be warned that the author may not have intended to support it.
responseSelect
SelectResult responseSelect(Session session, int tag)
Undocumented in source. Be warned that the author may not have intended to support it.
responseStatus
StatusResult responseStatus(Session session, int tag, string mailboxName)
Undocumented in source. Be warned that the author may not have intended to support it.
stripBrackets
string stripBrackets(string s)
stripQuotes
string stripQuotes(string s)

Manifest constants

Backslash
enum Backslash;
Undocumented in source.
DoubleQuote
enum DoubleQuote;
Undocumented in source.
LSquare
enum LSquare;
Undocumented in source.
RSquare
enum RSquare;
Undocumented in source.

Structs

BodyResponse
struct BodyResponse
FlagResult
struct FlagResult
ImapResult
struct ImapResult
ListEntry
struct ListEntry
ListResponse
struct ListResponse
LiteralInfo
struct LiteralInfo
Undocumented in source.
MimeAttachment
struct MimeAttachment
Undocumented in source.
ResponseSize
struct ResponseSize
SearchResult
struct SearchResult
SelectResult
struct SelectResult
Undocumented in source.
StatusResult
struct StatusResult
Undocumented in source.

Meta