OpenPop.NET POP3 Library Documentation

Pop3Client.GetMessageSizes Method

Get the sizes in bytes of all the messages.
Messages marked as deleted are not listed.

public List<int> GetMessageSizes();

Return Value

Size of each message excluding deleted ones


Exception Type Condition
PopServerException If the server did not accept the LIST command

See Also

Pop3Client Class | OpenPop.Pop3 Namespace