Click or drag to resize

ImapClientGetHeaders Method (Int32)

Gets the headers for the specified message.

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

Parameters

messageNumber
Type: SystemInt32
The message number.

Return Value

Type: HeaderCollection
A collection of message headers.
Exceptions
ExceptionCondition
InvalidOperationException No folder is selected or Client is not connected or Server error.
ArgumentOutOfRangeException Message number is out of range.
See Also