Click or drag to resize

ImapUploadMessageAsync(IMail, CancellationToken) Method

Uploads specified email message to the current folder (mailbox). Uploaded message has Seen set. Internal date of the resulting message is set to the current date and time.

Namespace: Limilabs.Client.IMAP
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public Task<long?> UploadMessageAsync(
	IMail email,
	CancellationToken cancel = default
)

Parameters

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

Return Value

TaskNullableInt64
Unique-id of the uploaded message (Null if server does not support UniqueIdPlus).
See Also