Click or drag to resize
MimeKit

ImapFolderGetEnumerator Method

Get an enumerator for the messages in the folder.

Namespace: MailKit.Net.Imap
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public override IEnumerator<MimeMessage> GetEnumerator()

Return Value

IEnumeratorMimeMessage
The enumerator.

Implements

IEnumerableTGetEnumerator
IEnumerableTGetEnumerator
Exceptions
ExceptionCondition
ObjectDisposedException The ImapClient has been disposed.
ServiceNotConnectedException The ImapClient is not connected.
ServiceNotAuthenticatedException The ImapClient is not authenticated.
FolderNotOpenException The ImapFolder is not currently open.
Remarks
Gets an enumerator for the messages in the folder.
See Also