Defines the different means by which mail messages may be fetched from the server.
Namespace: S22.ImapAssembly: S22.Imap (in S22.Imap.dll) Version: 3.6.0.0 (3.6.0.0)
Syntax
C# |
---|
public enum FetchOptions |
Members
Member name | Value | Description | |
---|---|---|---|
Normal | 0 | Fetches the entire mail message with all of its content. | |
HeadersOnly | 1 | Only the mail message headers will be retrieved, while the actual content will not be downloaded. If this option is specified, only the header fields of the returned MailMessage object will be initialized. | |
TextOnly | 2 | Retrieves the mail message, but will only download content that has a content-type of text. This will retrieve text as well as HTML representation, while skipping inline content and attachments. | |
NoAttachments | 3 | Retrieves the mail message, but skips any content that is an attachment. |