ImapClient.CopyMessagesAsync

CopyMessagesAsync(IConnection, int, int, string)

Copy the messaeg

public Task CopyMessagesAsync(IConnection connection, int startSequence, int endSequence, 
    string folderName)
ParameterTypeDescription
connectionIConnectionConnection to a server
startSequenceInt32The starting sequence number of a message list
endSequenceInt32The ending sequence number of a message list
folderNameStringFolder name where a message is to be moved

Return Value

Task object, with delegate for this operation

See Also


CopyMessagesAsync(int, int, string)

Copy messages

public Task CopyMessagesAsync(int startSequence, int endSequence, string folderName)
ParameterTypeDescription
startSequenceInt32The starting sequence number of a message list
endSequenceInt32The ending sequence number of a message list
folderNameStringFolder name where a message is to be moved

Return Value

Task object, with delegate for this operation

See Also


CopyMessagesAsync(IConnection, string, string, string)

Copy messages

public Task CopyMessagesAsync(IConnection connection, string startUid, string endUid, 
    string folderName)
ParameterTypeDescription
connectionIConnectionConnection to a server
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
folderNameStringFolder name where a message is to be moved

Return Value

Task object, with delegate for this operation

See Also


CopyMessagesAsync(string, string, string)

Copy messages

public Task CopyMessagesAsync(string startUid, string endUid, string folderName)
ParameterTypeDescription
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
folderNameStringFolder name where a message is to be moved

Return Value

Task object, with delegate for this operation

See Also


CopyMessagesAsync(IConnection, IEnumerable<int>, string)

Copy the messaeg

public Task CopyMessagesAsync(IConnection connection, IEnumerable<int> sequenceSet, 
    string folderName)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceSetIEnumerable`1The set of sequence numbers for messages
folderNameStringFolder name where a message is to be moved

Return Value

Task object, with delegate for this operation

See Also


CopyMessagesAsync(IEnumerable<int>, string)

Copy messages

public Task CopyMessagesAsync(IEnumerable<int> sequenceSet, string folderName)
ParameterTypeDescription
sequenceSetIEnumerable`1The set of sequence numbers for messages
folderNameStringFolder name where a message is to be moved

Return Value

Task object, with delegate for this operation

See Also


CopyMessagesAsync(IConnection, IEnumerable<string>, string)

Copy messages

public Task CopyMessagesAsync(IConnection connection, IEnumerable<string> uidSet, string folderName)
ParameterTypeDescription
connectionIConnectionConnection to a server
uidSetIEnumerable`1The set of UID for messages
folderNameStringFolder name where a message is to be moved

Return Value

Task object, with delegate for this operation

See Also


CopyMessagesAsync(IEnumerable<string>, string)

Copy messages

public Task CopyMessagesAsync(IEnumerable<string> uidSet, string folderName)
ParameterTypeDescription
uidSetIEnumerable`1The set of UID for messages
folderNameStringFolder name where a message is to be moved

Return Value

Task object, with delegate for this operation

See Also


CopyMessagesAsync(IConnection, IEnumerable<ImapMessageInfo>, string)

Copy messages

public Task CopyMessagesAsync(IConnection connection, IEnumerable<ImapMessageInfo> messageInfoSet, 
    string folderName)
ParameterTypeDescription
connectionIConnectionConnection to a server
messageInfoSetIEnumerable`1The set of ImapMessageInfo
folderNameStringFolder name where a message is to be moved

Return Value

Task object, with delegate for this operation

See Also


CopyMessagesAsync(IEnumerable<ImapMessageInfo>, string)

Copy messages

public Task CopyMessagesAsync(IEnumerable<ImapMessageInfo> messageInfoSet, string folderName)
ParameterTypeDescription
messageInfoSetIEnumerable`1The set of ImapMessageInfo
folderNameStringFolder name where a message is to be moved

Return Value

Task object, with delegate for this operation

See Also


CopyMessagesAsync(IConnection, int, int, string, CancellationToken)

Copy the messaeg

public Task CopyMessagesAsync(IConnection connection, int startSequence, int endSequence, 
    string folderName, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
startSequenceInt32The starting sequence number of a message list
endSequenceInt32The ending sequence number of a message list
folderNameStringFolder name where a message is to be moved
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


CopyMessagesAsync(int, int, string, CancellationToken)

Copy messages

public Task CopyMessagesAsync(int startSequence, int endSequence, string folderName, 
    CancellationToken token)
ParameterTypeDescription
startSequenceInt32The starting sequence number of a message list
endSequenceInt32The ending sequence number of a message list
folderNameStringFolder name where a message is to be moved
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


CopyMessagesAsync(IConnection, string, string, string, CancellationToken)

Copy messages

public Task CopyMessagesAsync(IConnection connection, string startUid, string endUid, 
    string folderName, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
folderNameStringFolder name where a message is to be moved
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


CopyMessagesAsync(string, string, string, CancellationToken)

Copy messages

public Task CopyMessagesAsync(string startUid, string endUid, string folderName, 
    CancellationToken token)
ParameterTypeDescription
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
folderNameStringFolder name where a message is to be moved
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


CopyMessagesAsync(IConnection, IEnumerable<int>, string, CancellationToken)

Copy the messaeg

public Task CopyMessagesAsync(IConnection connection, IEnumerable<int> sequenceSet, 
    string folderName, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceSetIEnumerable`1The set of sequence numbers for messages
folderNameStringFolder name where a message is to be moved
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


CopyMessagesAsync(IEnumerable<int>, string, CancellationToken)

Copy messages

public Task CopyMessagesAsync(IEnumerable<int> sequenceSet, string folderName, 
    CancellationToken token)
ParameterTypeDescription
sequenceSetIEnumerable`1The set of sequence numbers for messages
folderNameStringFolder name where a message is to be moved
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


CopyMessagesAsync(IConnection, IEnumerable<string>, string, CancellationToken)

Copy messages

public Task CopyMessagesAsync(IConnection connection, IEnumerable<string> uidSet, 
    string folderName, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uidSetIEnumerable`1The set of UID for messages
folderNameStringFolder name where a message is to be moved
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


CopyMessagesAsync(IEnumerable<string>, string, CancellationToken)

Copy messages

public Task CopyMessagesAsync(IEnumerable<string> uidSet, string folderName, 
    CancellationToken token)
ParameterTypeDescription
uidSetIEnumerable`1The set of UID for messages
folderNameStringFolder name where a message is to be moved
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


CopyMessagesAsync(IConnection, IEnumerable<ImapMessageInfo>, string, CancellationToken)

Copy messages

public Task CopyMessagesAsync(IConnection connection, IEnumerable<ImapMessageInfo> messageInfoSet, 
    string folderName, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
messageInfoSetIEnumerable`1The set of ImapMessageInfo
folderNameStringFolder name where a message is to be moved
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


CopyMessagesAsync(IEnumerable<ImapMessageInfo>, string, CancellationToken)

Copy messages

public Task CopyMessagesAsync(IEnumerable<ImapMessageInfo> messageInfoSet, string folderName, 
    CancellationToken token)
ParameterTypeDescription
messageInfoSetIEnumerable`1The set of ImapMessageInfo
folderNameStringFolder name where a message is to be moved
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also