 | ImapGetEnvelopeByNumberAsync(ListInt64, CancellationToken) Method |
Gets the envelope (
Subject,
From,
To...)
of the specified email messages. Does not set the
Seen flag.
Namespace: Limilabs.Client.IMAPAssembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic Task<List<Envelope>> GetEnvelopeByNumberAsync(
List<long> messageNumbers,
CancellationToken cancel = default
)
Public Function GetEnvelopeByNumberAsync (
messageNumbers As List(Of Long),
Optional cancel As CancellationToken = Nothing
) As Task(Of List(Of Envelope))
public:
Task<List<Envelope^>^>^ GetEnvelopeByNumberAsync(
List<long long>^ messageNumbers,
CancellationToken cancel = CancellationToken()
)
member GetEnvelopeByNumberAsync :
messageNumbers : List<int64> *
?cancel : CancellationToken
(* Defaults:
let _cancel = defaultArg cancel new CancellationToken()
*)
-> Task<List<Envelope>> Parameters
- messageNumbers ListInt64
- 1 based message numbers.
- cancel CancellationToken (Optional)
- A cancellation token that can be used to signal the asynchronous operation should be canceled.
Return Value
TaskListEnvelopeEnvelope information of the specified messages.
See Also