LumiSoft Net Help
CopyMessages Method (uid, seqSet, targetFolder)
Namespaces ► LumiSoft.Net.IMAP.Client ► IMAP_Client ► CopyMessages(Boolean, IMAP_SequenceSet, String)
Copies specified messages from current selected folder to the specified target folder.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    [ObsoleteAttribute("Use method 'CopyMessages(bool uid,IMAP_t_SeqSet seqSet,string targetFolder)' instead.")]
    public void CopyMessages(
    	bool uid,
    	IMAP_SequenceSet seqSet,
    	string targetFolder
    )

    <ObsoleteAttribute("Use method 'CopyMessages(bool uid,IMAP_t_SeqSet seqSet,string targetFolder)' instead.")>
    Public Sub CopyMessages (
    	uid As Boolean,
    	seqSet As IMAP_SequenceSet,
    	targetFolder As String
    )

    public:
    [ObsoleteAttribute(L"Use method 'CopyMessages(bool uid,IMAP_t_SeqSet seqSet,string targetFolder)' instead.")]
    void CopyMessages(
    	bool uid,
    	IMAP_SequenceSet^ seqSet,
    	String^ targetFolder
    )

    [<ObsoleteAttribute("Use method 'CopyMessages(bool uid,IMAP_t_SeqSet seqSet,string targetFolder)' instead.")>]
    member CopyMessages :
            uid : bool *
            seqSet : IMAP_SequenceSet *
            targetFolder : string -> unit

Parameters

uid (Boolean)
  Specifies if seqSet contains UIDs or message-numberss.

seqSet (IMAP_SequenceSet)
  Messages sequence set.

targetFolder (String)
  Target folder name with path.

Exceptions

Exception | Condition
--- | ---
ObjectDisposedException | Is raised when this object is disposed and and this method is accessed.
InvalidOperationException | Is raised when IMAP client is not in valid state. For example 'not connected'.
ArgumentNullException | Is raised when seqSet or targetFolder is null reference.
ArgumentException | Is raised when any of the arguments has invalid value.
IMAP_ClientException | Is raised when server refuses to complete this command and returns error.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119