Discuss this help topic in SecureBlackbox Forum

TElIMAPClient.Copy

TElIMAPClient     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Copies the specified messages to the end of the specified mailbox.

Declaration

[C#]
    void Copy(int First, int Last, bool UID, string MailBox);
    void Copy(TElIMAPFetchResponse Sequence, string MailBox);

[VB.NET]
    Sub Copy(ByVal First As Integer, ByVal Last As Integer, ByVal UID As Boolean, ByVal MailBox As String)
    Sub Copy(ByVal Sequence As TElIMAPFetchResponse, ByVal MailBox As String)

[Pascal]
    procedure Copy(First : Integer; Last : Integer; UID : Boolean; MailBox : TWideString; CopyResult : TElIMAPCopyResult =nil);
    procedure Copy(Sequence : TElIMAPFetchResponse; MailBox : TWideString; CopyResult : TElIMAPCopyResult = nil);

[C++]
    void Copy(int32_t First, int32_t Last, bool UID, const sb_u16string &MailBox, TElIMAPCopyResult &CopyResult);
    void Copy(int32_t First, int32_t Last, bool UID, const sb_u16string &MailBox, TElIMAPCopyResult *CopyResult);
    void Copy(int32_t First, int32_t Last, bool UID, const std::wstring &MailBox, TElIMAPCopyResult &CopyResult);
    void Copy(int32_t First, int32_t Last, bool UID, const std::wstring &MailBox, TElIMAPCopyResult *CopyResult);
    void Copy(TElIMAPFetchResponse &Sequence, const sb_u16string &MailBox, TElIMAPCopyResult &CopyResult);
    void Copy(TElIMAPFetchResponse *Sequence, const sb_u16string &MailBox, TElIMAPCopyResult *CopyResult);
    void Copy(TElIMAPFetchResponse &Sequence, const std::wstring &MailBox, TElIMAPCopyResult &CopyResult);
    void Copy(TElIMAPFetchResponse *Sequence, const std::wstring &MailBox, TElIMAPCopyResult *CopyResult);

[PHP]
    void Copy(integer $First, integer $Last, bool $UID, string $MailBox, TElIMAPCopyResult $CopyResult)
    void Copy(TElIMAPFetchResponse $Sequence, string $MailBox, TElIMAPCopyResult $CopyResult)

[Java]
    void copy(int First, int Last, boolean UID, String MailBox);
    void copy(TElIMAPFetchResponse Sequence, String MailBox);

Parameters

  • First - specifies the first message to be copied.
  • Last - specifies the last message to be copied.
  • UID - defines whether parameters First and Last specify message sequence numbers (UID is false) or message UIDs (UID is true).
  • MailBox - destination mailbox.
  • Sequence - defines the sequence of messages to be copied.
  • CopyResult - contains the result recieved from server.

Description

    Call this method to copy messages from the selected MailBox to the specified destination mailbox.

See also:     MailBox    

Discuss this help topic in SecureBlackbox Forum