PowerTCP Mail for .NET
Copy(ImapMessage,ImapMessage,Mailbox) Method




First message in the range to copy.
Last message in the range to copy.
Destination mailbox.
Copies a range of messages from this mailbox to the specified mailbox.
Syntax
Public Overloads Function Copy( _
   ByVal first As ImapMessage, _
   ByVal last As ImapMessage, _
   ByVal destination As Mailbox _
) As ImapResponse
Dim instance As Mailbox
Dim first As ImapMessage
Dim last As ImapMessage
Dim destination As Mailbox
Dim value As ImapResponse
 
value = instance.Copy(first, last, destination)
public ImapResponse Copy( 
   ImapMessage first,
   ImapMessage last,
   Mailbox destination
)
public: ImapResponse* Copy( 
   ImapMessage* first,
   ImapMessage* last,
   Mailbox* destination
) 
public:
ImapResponse^ Copy( 
   ImapMessage^ first,
   ImapMessage^ last,
   Mailbox^ destination
) 

Parameters

first
First message in the range to copy.
last
Last message in the range to copy.
destination
Destination mailbox.
Remarks
Copies the messages contained within the range specified by first and last to another mailbox. This method results in an IMAP COPY command being used. The command uses the UIDs of the messages to perform the copy operation. This method is useful for bulk operations. Use ImapMessage.CopyTo to copy a single message.
See Also

Reference

Mailbox Class
Mailbox Members
Overload List


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic