MailBee.NET Objects 3.1

Pop3.GetMessageSize Method 

Gets the length (in bytes) of the specified message in the inbox.

public int GetMessageSize(
   int index
);

Parameters

index
The ordinal position of the message in the inbox. It must be in the range 1 to InboxMessageCount.

Return Value

The length (in bytes) of the specified message in the inbox.

Exceptions

Exception Type Condition
MailBeeInvalidArgumentException The message index is not in the range 1 to InboxMessageCount.
MailBeeException An error occurred and ThrowExceptions is true.

See Also

Pop3 Class | MailBee.Pop3Mail Namespace | GetMessageSizes | InboxPreloadOptions