| ImapUploadMessageAsync 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 Task<long?> UploadMessageAsync(
FolderInfo folder,
byte[] eml
)
Public Function UploadMessageAsync (
folder As FolderInfo,
eml As Byte()
) As Task(Of Long?)
public:
Task<Nullable<long long>>^ UploadMessageAsync(
FolderInfo^ folder,
array<unsigned char>^ eml
)
member UploadMessageAsync :
folder : FolderInfo *
eml : byte[] -> Task<Nullable<int64>>
Parameters
- folder
- Type: Limilabs.Client.IMAPFolderInfo
Folder to upload to. - eml
- Type: SystemByte
Message to upload.
Return Value
Type:
TaskNullableInt64Unique-id of the uploaded message (
Null if server does not support
UniqueIdPlus).
See Also