forked from smiley22/S22.Imap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFetchOptions.cs
31 lines (30 loc) · 1.01 KB
/
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
30
31
using System;
namespace S22.Imap {
/// <summary>
/// Fetch options that can be used with the GetMessage and GetMessages methods
/// to selectively retrieve parts of a mail message while skipping others.
/// </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 representations,
/// but no inline content or attachments.
/// </summary>
TextOnly,
/// <summary>
/// Retrieves the mail message, but skips any content that has been marked as
/// attachment.
/// </summary>
NoAttachments
}
}