ImapClient.CopyMessages

CopyMessages(IConnection, int, int, string)

Copy the messaeg

public void CopyMessages(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

See Also


CopyMessages(int, int, string)

Copy messages

public void CopyMessages(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

See Also


CopyMessages(IConnection, string, string, string)

Copy messages

public void CopyMessages(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

See Also


CopyMessages(string, string, string)

Copy messages

public void CopyMessages(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

See Also


CopyMessages(IEnumerable<int>, string, bool)

Copy messages

public void CopyMessages(IEnumerable<int> sequenceSet, string folderName, bool commitDeletions)
ParameterTypeDescription
sequenceSetIEnumerable`1The set of sequence numbers for messages
folderNameStringFolder name where a message is to be moved
commitDeletionsBooleanSpecifies whether deletions should be committed.

See Also


CopyMessages(IConnection, IEnumerable<int>, string)

Copy the messaeg

public void CopyMessages(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

See Also


CopyMessages(IEnumerable<int>, string)

Copy messages

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

See Also


CopyMessages(IConnection, IEnumerable<string>, string)

Copy messages

public void CopyMessages(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

See Also


CopyMessages(IEnumerable<string>, string)

Copy messages

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

See Also


CopyMessages(IConnection, IEnumerable<ImapMessageInfo>, string)

Copy messages

public void CopyMessages(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

See Also


CopyMessages(IEnumerable<ImapMessageInfo>, string)

Copy messages

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

See Also