ImapClientCopyMessage Method (IConnection, String, String)

Copies the message

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public string CopyMessage(
	IConnection connection,
	string uniqueId,
	string folderName
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
uniqueId
Type: SystemString
The uid of the message
folderName
Type: SystemString
Folder name where a message is to be copied

Return Value

Type: String
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