Moves specified messages from current selected folder to the specified target folder.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public void MoveMessages( bool uid, IMAP_t_SeqSet seqSet, string targetFolder, bool expunge )
Public Sub MoveMessages ( uid As Boolean, seqSet As IMAP_t_SeqSet, targetFolder As String, expunge As Boolean )
public: void MoveMessages( bool uid, IMAP_t_SeqSet^ seqSet, String^ targetFolder, bool expunge )
member MoveMessages : uid : bool * seqSet : IMAP_t_SeqSet * targetFolder : string * expunge : bool -> unit
Parameters
- uid (Boolean)
- Specifies if seqSet contains UIDs or message-numberss.
- seqSet (IMAP_t_SeqSet)
- Messages sequence set.
- targetFolder (String)
- Target folder name with path.
- expunge (Boolean)
- If ture messages are expunged from selected folder, otherwise they are marked as Deleted. Note: If true - then all messages marked as Deleted are expunged !
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'. |
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