ImapClient.CopyMessage
Contents
[
Hide
]CopyMessage(IConnection, int, string)
Copies the message
public string CopyMessage(IConnection connection, int sequenceNumber, string folderName)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | The sequence number of the message |
folderName | String | Folder name where a message is to be copied |
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
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
CopyMessage(IConnection, string, string)
Copies the message
public string CopyMessage(IConnection connection, string uniqueId, string folderName)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The uid of the message |
folderName | String | Folder name where a message is to be copied |
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
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
CopyMessage(int, string)
Copies the message
public string CopyMessage(int sequenceNumber, string folderName)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | The sequence number of the message |
folderName | String | Folder name where a message is to be copied |
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
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
CopyMessage(string, string)
Copies the message
public string CopyMessage(string uniqueId, string folderName)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The uid of the message |
folderName | String | Folder name where a message is to be copied |
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
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email