Click or drag to resize

Pop3GetHeadersByNumberAsync Method

Gets specified mail message containing only headers. Use MailBuilder class to create IMail object.

Namespace: Limilabs.Client.POP3
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public Task<byte[]> GetHeadersByNumberAsync(
	long messageNumber,
	CancellationToken cancel = default
)

Parameters

messageNumber  Int64
Number of message to get (starts from 1)
cancel  CancellationToken  (Optional)
A cancellation token that can be used to signal the asynchronous operation should be canceled.

Return Value

TaskByte
String containing email message headers.
Exceptions
ExceptionCondition
Pop3ResponseExceptionThrows Pop3ResponseException on error response.
See Also