CopyMessageAsync

ImapClient.CopyMessageAsync method (1 of 8)

Copies the message

public Task<string> CopyMessageAsync(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

Task object, with delegate for this operation

See Also


ImapClient.CopyMessageAsync method (2 of 8)

Copies the message

public Task<string> CopyMessageAsync(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

Task object, with delegate for this operation

See Also


ImapClient.CopyMessageAsync method (3 of 8)

Copies the message

public Task<string> CopyMessageAsync(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

Task object, with delegate for this operation

See Also


ImapClient.CopyMessageAsync method (4 of 8)

Copies the message

public Task<string> CopyMessageAsync(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

Task object, with delegate for this operation

See Also


ImapClient.CopyMessageAsync method (5 of 8)

Copies the message

public Task<string> CopyMessageAsync(IConnection connection, int sequenceNumber, string folderName, 
    CancellationToken token)
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
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ImapClient.CopyMessageAsync method (6 of 8)

Copies the message

public Task<string> CopyMessageAsync(IConnection connection, string uniqueId, string folderName, 
    CancellationToken token)
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
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ImapClient.CopyMessageAsync method (7 of 8)

Copies the message

public Task<string> CopyMessageAsync(int sequenceNumber, string folderName, CancellationToken token)
Parameter Type Description
sequenceNumber Int32 The sequence number of the message
folderName String Folder name where a message is to be copied
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ImapClient.CopyMessageAsync method (8 of 8)

Copies the message

public Task<string> CopyMessageAsync(string uniqueId, string folderName, CancellationToken token)
Parameter Type Description
uniqueId String The uid of the message
folderName String Folder name where a message is to be copied
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also