Copies specified messages from current selected folder to the specified target folder.
| C# | Visual Basic | Visual C++ | F# |
public void CopyMessages( bool uid, IMAP_t_SeqSet seqSet, string targetFolder )
Public Sub CopyMessages ( uid As Boolean, seqSet As IMAP_t_SeqSet, targetFolder As String )
public: void CopyMessages( bool uid, IMAP_t_SeqSet^ seqSet, String^ targetFolder )
member CopyMessages : uid : bool * seqSet : IMAP_t_SeqSet * targetFolder : string -> unit
- uid (Boolean)
- Specifies if seqSet contains UIDs or message-numberss.
- seqSet (IMAP_t_SeqSet)
- Messages sequence set.
- targetFolder (String)
- Target folder name with path.
| 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