ImapClient.AppendMessagesAsync
AppendMessagesAsync(IConnection, IEnumerable<MailMessage>)
Uploads the mail messages to the current folder If current folder hasn’t been specified default folder is used.
public Task<AppendMessagesResult> AppendMessagesAsync(IConnection connection,
IEnumerable<MailMessage> messages)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messages | IEnumerable`1 | Enumeration of email messages to be upload |
Return Value
Task object, with delegate for this operation
See Also
- class AppendMessagesResult
- interface IConnection
- class MailMessage
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessagesAsync(IConnection, string, IEnumerable<MailMessage>)
Uploads the mail messages to the current folder
public Task<AppendMessagesResult> AppendMessagesAsync(IConnection connection, string folderName,
IEnumerable<MailMessage> messages)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | String | Folder that will receive the mail message |
messages | IEnumerable`1 | Enumeration of email messages to be upload |
Return Value
Task object, with delegate for this operation
See Also
- class AppendMessagesResult
- interface IConnection
- class MailMessage
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessagesAsync(IEnumerable<MailMessage>)
Uploads the mail message to the current folder If current folder hasn’t been specified default folder is used.
public Task<AppendMessagesResult> AppendMessagesAsync(IEnumerable<MailMessage> messages)
Parameter | Type | Description |
---|---|---|
messages | IEnumerable`1 | Enumeration of email messages to be upload |
Return Value
Task object, with delegate for this operation
See Also
- class AppendMessagesResult
- class MailMessage
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessagesAsync(string, IEnumerable<MailMessage>)
Uploads the mail messages to the current folder
public Task<AppendMessagesResult> AppendMessagesAsync(string folderName,
IEnumerable<MailMessage> messages)
Parameter | Type | Description |
---|---|---|
folderName | String | Folder that will receive the mail message |
messages | IEnumerable`1 | Enumeration of email messages to be upload |
Return Value
Task object, with delegate for this operation
See Also
- class AppendMessagesResult
- class MailMessage
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessagesAsync(IConnection, IEnumerable<MailMessage>, CancellationToken)
Uploads the mail messages to the current folder If current folder hasn’t been specified default folder is used.
public Task<AppendMessagesResult> AppendMessagesAsync(IConnection connection,
IEnumerable<MailMessage> messages, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messages | IEnumerable`1 | 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
- interface IConnection
- class MailMessage
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessagesAsync(IConnection, string, IEnumerable<MailMessage>, CancellationToken)
Uploads the mail messages to the current folder
public Task<AppendMessagesResult> AppendMessagesAsync(IConnection connection, string folderName,
IEnumerable<MailMessage> messages, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | String | Folder that will receive the mail message |
messages | IEnumerable`1 | 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
- interface IConnection
- class MailMessage
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessagesAsync(IEnumerable<MailMessage>, CancellationToken)
Uploads the mail message to the current folder If current folder hasn’t been specified default folder is used.
public Task<AppendMessagesResult> AppendMessagesAsync(IEnumerable<MailMessage> messages,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
messages | IEnumerable`1 | 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
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessagesAsync(string, IEnumerable<MailMessage>, CancellationToken)
Uploads the mail messages to the current folder
public Task<AppendMessagesResult> AppendMessagesAsync(string folderName,
IEnumerable<MailMessage> messages, CancellationToken token)
Parameter | Type | Description |
---|---|---|
folderName | String | Folder that will receive the mail message |
messages | IEnumerable`1 | 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
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email