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