| ImapUploadMessage 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 long? UploadMessage(
string folder,
byte[] eml,
UploadMessageInfo messageInfo
)
Public Function UploadMessage (
folder As String,
eml As Byte(),
messageInfo As UploadMessageInfo
) As Long?
public:
Nullable<long long> UploadMessage(
String^ folder,
array<unsigned char>^ eml,
UploadMessageInfo^ messageInfo
)
member UploadMessage :
folder : string *
eml : byte[] *
messageInfo : UploadMessageInfo -> 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:
NullableInt64Unique-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