ImapClient.AppendMessageAsync
AppendMessageAsync(IConnection, MailMessage)
Uploads the mail message to the current folder If current folder hasn’t been specified default folder is used.
public Task<string> AppendMessageAsync(IConnection connection, MailMessage message)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
message | MailMessage | Mail message to be upload |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class MailMessage
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessageAsync(IConnection, string, MailMessage)
Uploads the mail message to the specified folder
public Task<string> AppendMessageAsync(IConnection connection, string folderName,
MailMessage message)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | String | Folder that will receive the mail message |
message | MailMessage | Mail message to be upload |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class MailMessage
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessageAsync(IConnection, string)
Uploads the mail message to the current folder If current folder hasn’t been specified default folder is used.
public Task<string> AppendMessageAsync(IConnection connection, string fileName)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
fileName | String | File name (*.eml) of the mail message that will be uploaded |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessageAsync(IConnection, string, string)
Uploads the mail message to the specified folder
public Task<string> AppendMessageAsync(IConnection connection, string folderName, string fileName)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | String | Folder that will receive the mail message |
fileName | String | File name (*.eml) of the mail message that will be uploaded |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessageAsync(MailMessage)
Uploads the mail message to the current folder If current folder hasn’t been specified default folder is used.
public Task<string> AppendMessageAsync(MailMessage message)
Parameter | Type | Description |
---|---|---|
message | MailMessage | Mail message to be upload |
Return Value
Task object, with delegate for this operation
See Also
- class MailMessage
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessageAsync(string, MailMessage)
Uploads the mail message to the specified folder
public Task<string> AppendMessageAsync(string folderName, MailMessage message)
Parameter | Type | Description |
---|---|---|
folderName | String | Folder that will receive the mail message |
message | MailMessage | Mail message to be upload |
Return Value
Task object, with delegate for this operation
See Also
- class MailMessage
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessageAsync(string)
Uploads the mail message to the current folder If current folder hasn’t been specified default folder is used.
public Task<string> AppendMessageAsync(string fileName)
Parameter | Type | Description |
---|---|---|
fileName | String | File name (*.eml) of the mail message that will be uploaded |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessageAsync(string, string)
Uploads the mail message to the specified folder
public Task<string> AppendMessageAsync(string folderName, string fileName)
Parameter | Type | Description |
---|---|---|
folderName | String | Folder that will receive the mail message |
fileName | String | File name (*.eml) of the mail message that will be uploaded |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessageAsync(IConnection, MailMessage, CancellationToken)
Uploads the mail message to the current folder If current folder hasn’t been specified default folder is used.
public Task<string> AppendMessageAsync(IConnection connection, MailMessage message,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
message | MailMessage | 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
- interface IConnection
- class MailMessage
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessageAsync(IConnection, string, MailMessage, CancellationToken)
Uploads the mail message to the specified folder
public Task<string> AppendMessageAsync(IConnection connection, string folderName,
MailMessage message, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | String | Folder that will receive the mail message |
message | MailMessage | 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
- interface IConnection
- class MailMessage
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessageAsync(IConnection, string, CancellationToken)
Uploads the mail message to the current folder If current folder hasn’t been specified default folder is used.
public Task<string> AppendMessageAsync(IConnection connection, string fileName,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
fileName | String | File name (*.eml) of the mail message that will be uploaded |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessageAsync(IConnection, string, string, CancellationToken)
Uploads the mail message to the specified folder
public Task<string> AppendMessageAsync(IConnection connection, string folderName, string fileName,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | String | Folder that will receive the mail message |
fileName | String | File name (*.eml) of the mail message that will be uploaded |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessageAsync(MailMessage, CancellationToken)
Uploads the mail message to the current folder If current folder hasn’t been specified default folder is used.
public Task<string> AppendMessageAsync(MailMessage message, CancellationToken token)
Parameter | Type | Description |
---|---|---|
message | MailMessage | 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
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessageAsync(string, MailMessage, CancellationToken)
Uploads the mail message to the specified folder
public Task<string> AppendMessageAsync(string folderName, MailMessage message,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
folderName | String | Folder that will receive the mail message |
message | MailMessage | 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
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessageAsync(string, CancellationToken)
Uploads the mail message to the current folder If current folder hasn’t been specified default folder is used.
public Task<string> AppendMessageAsync(string fileName, CancellationToken token)
Parameter | Type | Description |
---|---|---|
fileName | String | File name (*.eml) of the mail message that will be uploaded |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
AppendMessageAsync(string, string, CancellationToken)
Uploads the mail message to the specified folder
public Task<string> AppendMessageAsync(string folderName, string fileName, CancellationToken token)
Parameter | Type | Description |
---|---|---|
folderName | String | Folder that will receive the mail message |
fileName | String | File name (*.eml) of the mail message that will be uploaded |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email