MailBee.ImapMail Namespace |
MailBee.ImapMail namespace contains classes and enumerations which can be used by your applications to manipulate mails and folders on an IMAP4 server. This includes downloading messages and IMAP4 envelopes (including customized download of certain parts of messages), uploading, deleting, copying and moving messages between folders, setting flags, search for messages matching the given criteria, folders management, sending custom commands to the server, authenticating using secure methods, and more.
MailBee supports a number of IMAP4 extensions which increase performance and expand the set of available features.
ImapMail.Imap (main class of this namespace) is declared as a component, which means you can also just drop it onto your application form instead of creating an instance in the code.
"Quick" methods are also supported, which allows you to download mail from the server in a single line of code.
The component has built-in support for secure connections (TLS/SSL) and proxy servers (SOCKS4/SOCKS5/HTTP).
In UWP apps, use async methods. This platform has very limited sync I/O support.
Class | Description | |
---|---|---|
Envelope |
Represents an IMAP4 envelope of a mail message (including any other related information
such as body structure, message flags, the mail message itself, etc).
| |
EnvelopeCollection |
Provides properties and methods for examining, extending, and reversing the collection of the Envelope objects.
| |
Folder |
Represents a folder (mailbox in IMAP4 terms) of the account on the mail server.
| |
FolderCollection |
Provides properties and methods for examining the collection of the Folder objects.
| |
FolderQuota |
Represents a resource usage and quota indicator for the entire account or
a single folder of this account.
| |
FolderStatus |
Provides properties used to examine the status of a single folder of the mail account.
| |
Imap |
Provides properties and methods for connecting to an IMAP4 server, downloading, searching, and
managing folders and e-mail messages in a user account.
| |
ImapBodyStructure |
Represents a structure of a MIME part of a mail message.
| |
ImapBodyStructureCollection |
Provides properties and methods for examining the collection of the ImapBodyStructure objects.
| |
ImapEnvelopeDataChunkReceivedEventArgs |
Contains the event data for EnvelopeDataChunkReceived event.
| |
ImapEnvelopeDownloadedEventArgs |
Contains the event data for EnvelopeDownloaded event.
| |
ImapIdlingEventArgs |
Contains the event data for Idling event.
| |
ImapMessageStatusEventArgs |
Contains the event data for MessageStatus event.
| |
ImapNamespace |
Represents the description of a single IMAP namespace.
| |
ImapNamespaceCollection |
Provides properties and methods for examining the collection of ImapNamespace objects.
| |
ImapNamespaceCollectionSet |
Provides access to the lists of namespaces defined for the current e-mail account.
| |
ImapServerStatusEventArgs |
Contains the event data for ServerStatus event.
| |
ImapUtils |
Provides static methods useful for processing IMAP4 strings, dates, folder names, etc.
| |
MailBeeImapInvalidEnvelopeException |
The exception that is thrown when MailBee encounters FETCH response which could not be completely parsed.
| |
MailBeeImapLoginBadCredentialsException |
The exception that is thrown when the IMAP server reports the given user account name
and/or password is incorrect.
| |
MailBeeImapLoginBadMethodException |
The exception that is thrown when the IMAP server reports the given SASL authentication
method is not supported and use of another authentication methods is not allowed by the
application.
| |
MailBeeImapLoginNegativeResponseException |
An abstract parent for all exceptions which indicate the IMAP server replied with a negative
response during authentication of the user.
| |
MailBeeImapMessageIndexNotFoundException |
The exception that is thrown when the message with the specified index cannot be downloaded because
this index does not correspond to any message in the currently selected folder on the server.
| |
MailBeeImapNegativeResponseException |
The exception that is thrown when the IMAP server responds with a negative reply (i.e. "BAD" or "NO").
| |
MailBeeImapResponseNotFoundException |
The exception that is thrown when the IMAP server did not return the expected response.
| |
MessageFlagSet |
Represents a set of flags of a mail message.
| |
MessageIndexCollection |
Represents an abstract list of indices (such as ordinal message numbers or UIDs) of mail messages.
| |
MessageNumberCollection |
Represents a list of ordinal message numbers of mail messages.
| |
UidCollection |
Represents a list of UIDs of mail messages.
| |
UidPlusResult |
Represents a set of UIDs assigned to the copied or uploaded messages
and other related information returned by the IMAP4 server which supports
UIDPLUS extension.
|
Delegate | Description | |
---|---|---|
ImapEnvelopeDataChunkReceivedEventHandler |
Represents the method that will handle EnvelopeDataChunkReceived event.
| |
ImapEnvelopeDownloadedEventHandler |
Represents the method that will handle EnvelopeDownloaded event.
| |
ImapIdlingEventHandler |
Represents the method that will handle Idling event.
| |
ImapMessageStatusEventHandler |
Represents the method that will handle MessageStatus event.
| |
ImapServerStatusEventHandler |
Represents the method that will handle ServerStatus event.
|
Enumeration | Description | |
---|---|---|
EnvelopeParts |
Defines message elements available for download using DownloadEnvelopes(String, Boolean, EnvelopeParts, Int32, String, String) method.
| |
FolderFlags |
Defines the standard flags which can be set or examined for IMAP4 folders (mailboxes).
| |
MessageFlagAction |
Defines actions to be performed with the message flags.
| |
SystemMessageFlags |
Defines the standard (system) flags which can be set or examined for mail messages in the folder.
|