Click or drag to resize
MimeKit

ImapEventMessageNew Class

An IMAP event notification for new or appended messages.
Inheritance Hierarchy
SystemObject
  MailKit.Net.ImapImapEvent
    MailKit.Net.ImapImapEventMessageNew

Namespace: MailKit.Net.Imap
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public class MessageNew : ImapEvent

The ImapEventMessageNew type exposes the following members.

Constructors
 NameDescription
Public methodImapEventMessageNew(IFetchRequest) Initializes a new instance of the ImapEventMessageNew class.
Public methodImapEventMessageNew(MessageSummaryItems) Initializes a new instance of the ImapEventMessageNew class.
Public methodImapEventMessageNew(MessageSummaryItems, IEnumerableHeaderId) Initializes a new instance of the ImapEventMessageNew class.
Public methodImapEventMessageNew(MessageSummaryItems, IEnumerableString) Initializes a new instance of the ImapEventMessageNew class.
Top
Properties
 NameDescription
Public propertyName Get the name of the IMAP event.
(Inherited from ImapEvent)
Top
Methods
 NameDescription
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodToString
(Inherited from Object)
Top
Remarks

An IMAP event notification for new or appended messages.

If the new or appended message is in the selected folder, the folder will emit the CountChanged event, followed by a MessageSummaryFetched event containing the information requested by the client.

Note  Note
These events will not be emitted for any message created by the client on this particular folder as a result of, for example, a call to Append(IAppendRequest, CancellationToken) or CopyTo(IListUniqueId, IMailFolder, CancellationToken).
See Also