| ImapUploadMessageAsync Method (String, Byte, 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,
byte[] eml,
UploadMessageInfo messageInfo
)
Public Function UploadMessageAsync (
folder As String,
eml As Byte(),
messageInfo As UploadMessageInfo
) As Task(Of Long?)
public:
Task<Nullable<long long>>^ UploadMessageAsync(
String^ folder,
array<unsigned char>^ eml,
UploadMessageInfo^ messageInfo
)
member UploadMessageAsync :
folder : string *
eml : byte[] *
messageInfo : UploadMessageInfo -> Task<Nullable<int64>>
Parameters
- folder
- Type: SystemString
Folder to upload. - eml
- Type: SystemByte
Message to upload. - messageInfo
- Type: Limilabs.Client.IMAPUploadMessageInfo
Additional message information (e.g. flags, internal date, Gmail labels).
Return Value
Type:
TaskNullableInt64Unique-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