IAsyncImapClient.CopyMessageAsync
Contents
[
Hide
]CopyMessageAsync(int, string, IConnection, CancellationToken)
Copies the message
public Task<string> CopyMessageAsync(int sequenceNumber, string folderName,
IConnection connection = null, CancellationToken token = default)
Parameter | Type | Description |
---|---|---|
connection | Int32 | Connection to a server |
sequenceNumber | String | The sequence number of the message |
folderName | IConnection | Folder name where a message is to be copied |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
If server supports UIDPLUS extension returns unique id of the copied message, otherwise returns null Please, read more https://tools.ietf.org/html/rfc4315
See Also
- interface IConnection
- interface IAsyncImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
CopyMessageAsync(string, string, IConnection, CancellationToken)
Copies the message.
public Task<string> CopyMessageAsync(string uniqueId, string folderName,
IConnection connection = null, CancellationToken token = default)
Parameter | Type | Description |
---|---|---|
connection | String | Connection to a server. |
uniqueId | String | The uid of the message. |
folderName | IConnection | Folder name where a message is to be copied. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
If server supports UIDPLUS extension returns unique id of the copied message, otherwise returns null. Please, read more https://tools.ietf.org/html/rfc4315
See Also
- interface IConnection
- interface IAsyncImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email