Click or drag to resize
MimeKit

ImapEventMessageNew Constructor (MessageSummaryItems, IEnumerableString)

Namespace:  MailKit.Net.Imap
Assembly:  MailKit (in MailKit.dll) Version: 3.0.0
Syntax
C#
public MessageNew(
	MessageSummaryItems items,
	IEnumerable<string> headers
)

Parameters

items
Type: MailKitMessageSummaryItems
The message summary items to automatically retrieve for new messages.
headers
Type: System.Collections.GenericIEnumerableString
Additional message headers to retrieve for new messages.
Exceptions
ExceptionCondition
ArgumentNullExceptionheaders is null.
ArgumentException

One or more of the specified headers is invalid.

Remarks
See Also