Click or drag to resize

ImapClientGetMessage Method (Int32)

Gets the specified message.

Namespace:  GemBox.Email.Imap
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 13.0.35.1019
Syntax
public MailMessage GetMessage(
	int messageNumber
)

Parameters

messageNumber
Type: SystemInt32
The message number.

Return Value

Type: MailMessage
The specified message.
Exceptions
ExceptionCondition
InvalidOperationException No folder is selected or Client is not connected or Server error.
ArgumentOutOfRangeException Message number is out of range.
FreeLimitReachedException Free license limitation exceeded.
See Also