Click or drag to resize
MimeKit

ImapEventMessageNew(MessageSummaryItems, IEnumerableString) Constructor

Initializes a new instance of the ImapEventMessageNew class.

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

Parameters

items  MessageSummaryItems
The message summary items to automatically retrieve for new messages.
headers  IEnumerableString
Additional message headers to retrieve for new messages.
Exceptions
ExceptionCondition
ArgumentNullExceptionheaders is null.
ArgumentException

One or more of the specified headers is invalid.

Remarks
Initializes a new instance of the ImapEventMessageNew class.
See Also