Click or drag to resize

Pop3GetSizeByNumberAsync(CancellationToken) Method

Returns the size (in bytes) of all messages. Keys are message numbers (starting from 1), value is the size of the message.

Namespace: Limilabs.Client.POP3
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public Task<Dictionary<long, long>> GetSizeByNumberAsync(
	CancellationToken cancel = default
)

Parameters

cancel  CancellationToken  (Optional)
A cancellation token that can be used to signal the asynchronous operation should be canceled.

Return Value

TaskDictionaryInt64, Int64
Key value collection, with message number as key and size as a value
Exceptions
ExceptionCondition
Pop3ResponseExceptionThrows Pop3ResponseException on error response.
See Also