-
Notifications
You must be signed in to change notification settings - Fork 111
/
FetchOptions.cs
29 lines (28 loc) · 955 Bytes
/
FetchOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;
namespace S22.Imap {
/// <summary>
/// Defines the different means by which mail messages may be fetched from the server.
/// </summary>
public enum FetchOptions {
/// <summary>
/// Fetches the entire mail message with all of its content.
/// </summary>
Normal,
/// <summary>
/// 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.
/// </summary>
HeadersOnly,
/// <summary>
/// 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.
/// </summary>
TextOnly,
/// <summary>
/// Retrieves the mail message, but skips any content that is an attachment.
/// </summary>
NoAttachments
}
}