Click or drag to resize

Imap.UploadMessage Method (FolderInfo,Byte[])

Uploads message to specified 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.23341.1754
Syntax
public long? UploadMessage(
	FolderInfo folder,
	byte[] eml
)

Parameters

folder
Type: Limilabs.Client.IMAP.FolderInfo
Folder to upload to.
eml
Type:System.Byte[]
Message to upload.

Return Value

Type: Nullable<Int64>
Unique-id of the uploaded message (Null if server does not support UniqueIdPlus).
See Also