IAsyncImapClient.AppendMessageAsync
IAsyncImapClient.AppendMessageAsync method
Uploads the mail message to the specified folder
public Task<string> AppendMessageAsync(MailMessage message, string folderName = null,
IConnection connection = null, CancellationToken token = default)
Parameter | Type | Description |
---|---|---|
connection | MailMessage | Connection to a server |
folderName | String | Folder that will receive the mail message |
message | IConnection | Mail message to be upload |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class MailMessage
- interface IConnection
- interface IAsyncImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email