Click or drag to resize

ImapPeekHeadersByNumberAsync(MimeStructure, CancellationToken) Method

Peeks MIME headers for specified MIME entity using MessageNumber.

Namespace: Limilabs.Client.IMAP
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public Task<byte[]> PeekHeadersByNumberAsync(
	MimeStructure structure,
	CancellationToken cancel = default
)

Parameters

structure  MimeStructure
MIME entity to get headers for.
cancel  CancellationToken  (Optional)
A cancellation token that can be used to signal the asynchronous operation should be canceled.

Return Value

TaskByte
Headers of the requested MIME entity. You can use CreateFromEml(Byte) to parse them.
See Also