Click or drag to resize

ImapUploadMessageAsync Method (String, IMail, UploadMessageInfo)

Uploads message to specified folder (mailbox).

Namespace:  Limilabs.Client.IMAP
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
public Task<long?> UploadMessageAsync(
	string folder,
	IMail email,
	UploadMessageInfo messageInfo
)

Parameters

folder
Type: SystemString
Folder to upload.
email
Type: Limilabs.MailIMail
Message to upload.
messageInfo
Type: Limilabs.Client.IMAPUploadMessageInfo
Additional message information (e.g. flags, internal date, Gmail labels).

Return Value

Type: TaskNullableInt64
Unique-id of the uploaded message (Null if server does not support UniqueIdPlus).
Remarks
IMAP servers may differ in the separator character used in folder hierarchy paths. Common separator chars are '.' and '/'. For example: "Inbox/Folder" or "Inbox.Folder".
See Also