enough_mail library

Classes

AttachmentInfo
Information about a file that is attached
Base64MailCodec
Provides base64 encoder and decoder. Compare https://tools.ietf.org/html/rfc2045#page-23 for details.
BinaryMimeData
Represents binary mime data
BodyPart
A BODY or BODYSTRUCTURE information element
Capability
Describes a capability
ClientConfig
ConfigEmailProvider
ContentDispositionHeader
Specifies the content disposition header of a mime part. Compare https://tools.ietf.org/html/rfc2183 for details.
ContentInfo
Provides high level information about content parts.
ContentTypeHeader
Eases reading content-type header values
DateCodec
Encodes and decodes dates according to MIME requirements.
DeleteResult
Provides information about a delete action
Discover
Envelope
FetchImapResult
Result for FETCH operations
GenericImapResult
A generic result that provide details about the success or failure of the command.
Encapsulates a MIME header
ImapClient
Low-level IMAP library.
ImapConnectionLostEvent
Notifies about a connection lost
ImapEvent
Base class for any event that can be fired by the IMAP client at any time. Compare ImapClient.eventBus
ImapExpungeEvent
Notifies about a message that has been deleted
ImapFetchEvent
Notifies about a message that has changed its status / flags
ImapMessagesExistEvent
Notifies about new messages
ImapMessagesRecentEvent
Notifies about new messages
ImapServerInfo
Keeps information about the remote IMAP server
ImapVanishedEvent
Notifies about a sequence of messages that have been deleted. This event can only be triggered if the server is QRESYNC compliant and after the client has enabled QRESYNC.
ImapWarning
Warnings can often be ignored but provide more insights in case of problems They are given in untagged responses of the server.
MailAccount
Contains information about a single mail account
MailAddress
An email address can consist of separate fields
MailAuthentication
Mailbox
Stores meta data about a folder aka Mailbox
MailClient
Highlevel online API to access mail.
MailCodec
Encodes and decodes base-64 and quoted printable encoded texts Compare https://tools.ietf.org/html/rfc2045#page-19 and https://tools.ietf.org/html/rfc2045#page-23 for details
MailConnectionLostEvent
Notifies about a lost connection
MailConnectionReEstablishedEvent
Notifies about a connection that has been re-established
MailConventions
Contains various mail specific conventions
MailEvent
Base class for any event that can be fired by the MailClient at any time. Compare MailClient.eventBus
MailLoadEvent
Notifies about a message that has been deleted
MailSearch
Abstracts a typical mail search
MailSearchResult
Contains the result of a search
MailServerConfig
Configuration of an mail service
MailUpdateEvent
Notifies about an mail flags update
MailVanishedEvent
Notifies about the removal of messages
MediaType
Describes the media type of a MIME message part
MessageBuilder
Simplifies creating mime messages for sending or storing.
MessageFlags
Contains common message flags
MessageListing
MessageSequence
Defines a list of message IDs.
MetaDataEntries
MetaDataEntry
MimeData
Abstracts textual or binary mime data
MimeMessage
A MIME message
MimePart
A MIME part In a simple case a MIME message only has one MIME part.
MimeThread
Abstract a mime message thread
MoveResult
OauthAuthentication
PagedMessageResult
Base class for actions that result in a partial fetching of messages
PagedMessageSequence
A paginated list of message IDs
ParameterizedHeader
PartBuilder
Allows to configure a mime part
PlainAuthentication
PopClient
Client to access POP3 compliant servers. Compare https://tools.ietf.org/html/rfc1939 for details.
PopConnectionLostEvent
PopEvent
PopResponse<T>
PopServerInfo
PopStatus
QResyncParameters
Classes for implementing QRESYNC https://tools.ietf.org/html/rfc7162 QRESYNC parameters when doing a SELECT or EXAMINE.
QuotaResult
Result for QUOTA operations
QuotaRootResult
Result for QUOTAROOT operations
QuotedPrintableMailCodec
Provides quoted printable encoder and decoder. Compare https://tools.ietf.org/html/rfc2045#page-19 for details.
ResourceLimit
QUOTA resource limit
Response<T>
Base class for command responses.
ReturnOption
Return option definition for extended commands.
SearchImapResult
Result for SEARCH and UID SEARCH operations
SearchQueryBuilder
Creates a new search query. In IMAP any search query is combined with AND meaning all conditions must be met by matching messages.
SearchTerm
SearchTermAll
SearchTermAnswered
SearchTermBcc
SearchTermBefore
SearchTermBody
SearchTermCc
SearchTermCharsetUf8
SearchTermDeleted
SearchTermDraft
SearchTermFlagged
SearchTermFrom
SearchTermHeader
SearchTermKeyword
SearchTermLarger
SearchTermNew
SearchTermNot
SearchTermOld
SearchTermOn
SearchTermOr
Combines two atomic search terms in an OR way Note that you cannot nest an OR term into another OR term
SearchTermRecent
SearchTermSeen
SearchTermSentBefore
SearchTermSentOn
SearchTermSentSince
SearchTermSince
SearchTermSmaller
SearchTermSubject
SearchTermText
SearchTermTo
SearchTermUnanswered
SearchTermUndeleted
SearchTermUndraft
SearchTermUnflagged
SearchTermUnkeyword
SearchTermUnseen
SequenceNode
A message sequence to handle nested IDs like in the IMAP THREAD extension.
ServerConfig
SmtpClient
Low-level SMTP library for Dartlang
SmtpConnectionLostEvent
SmtpEvent
SmtpResponse
SmtpResponseLine
SmtpServerInfo
Keeps information about the remote SMTP server
SortImapResult
Result for SORT and UID SORT operations
StoreImapResult
Result for STORE and UID STORE operations
TextMimeData
Represents textual mime data
ThreadDataResult
Contains information about threads
ThreadResult
Encapsulates a thread result
Tree<T>
TreeElement<T>
UidResponseCode
UidSearchTerm
UserNameBasedAuthentication

Enums

Authentication
AuthMechanism
Defines the available authentication mechanism
CharacterSet
The used character set
ContentDisposition
Specifies the content disposition of a mime part. Compare https://tools.ietf.org/html/rfc2183 for details.
DeleteAction
The internal action that was used for deletion. This is useful for undoing and delete operation.
FetchPreference
The client's preference when fetching messages
HeaderEncoding
ImapEventType
Classification of IMAP events
MailboxFlag
Contains common flags for mailboxes
MailEventType
Classification of Mail events
MediaSubtype
Detailed media types Compare https://www.iana.org/assignments/media-types/media-types.xhtml
MediaToptype
Top level media types
MetaDataDepth
MoveAction
Possible move implementations
PopEventType
RecipientGroup
The recipient
ResponseStatus
Status for command responses.
SearchMessageType
Defines what kind of messages should be searched
SearchQueryType
Which part of the message should be searched
SelectionOptions
LIST-EXTENDED selection options
SequenceNodeSelectionMode
Selection mode for retrieving a MessageSequence from a nested SequenceNode structure.
ServerType
SmtpEventType
SmtpResponseType
SocketType
StatusFlags
Options for querying status updates
StoreAction
Possible flag store actions
ThreadPreference
Defines the thread fetching preference
TransferEncoding
The transfer-encoding used for encoding 8bit data if necessary
UsernameType

Typedefs

MailEventFilter = bool Function(MailEvent event)
Definition for optional event filters, compare MailClient.addEventFilter.

Exceptions / Errors

ImapException
MailException
PopException
SmtpException
Contains details about SMTP problems