CopyMessage

ImapClient.CopyMessage method (1 of 4)

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


ImapClient.CopyMessage method (2 of 4)

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


ImapClient.CopyMessage method (3 of 4)

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


ImapClient.CopyMessage method (4 of 4)

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