| ImapUploadMessageAsync Method (String, IMail) |
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(
string folder,
IMail email
)
Public Function UploadMessageAsync (
folder As String,
email As IMail
) As Task(Of Long?)
public:
Task<Nullable<long long>>^ UploadMessageAsync(
String^ folder,
IMail^ email
)
member UploadMessageAsync :
folder : string *
email : IMail -> Task<Nullable<int64>>
Parameters
- folder
- Type: SystemString
Folder name to upload to. - email
- Type: Limilabs.MailIMail
Message to upload.
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