LumiSoft Net Help
MoveMessages Method (uid, seqSet, targetFolder, expunge)
NamespacesLumiSoft.Net.IMAP.ClientIMAP_ClientMoveMessages(Boolean, IMAP_SequenceSet, String, Boolean)
Moves specified messages from current selected folder to the specified target folder.
Declaration Syntax
C#Visual BasicVisual C++F#
[ObsoleteAttribute("Use method 'MoveMessages(bool uid,IMAP_t_SeqSet seqSet,string targetFolder,bool expunge)' instead.")]
public void MoveMessages(
	bool uid,
	IMAP_SequenceSet seqSet,
	string targetFolder,
	bool expunge
)
<ObsoleteAttribute("Use method 'MoveMessages(bool uid,IMAP_t_SeqSet seqSet,string targetFolder,bool expunge)' instead.")>
Public Sub MoveMessages ( 
	uid As Boolean,
	seqSet As IMAP_SequenceSet,
	targetFolder As String,
	expunge As Boolean
)
public:
[ObsoleteAttribute(L"Use method 'MoveMessages(bool uid,IMAP_t_SeqSet seqSet,string targetFolder,bool expunge)' instead.")]
void MoveMessages(
	bool uid, 
	IMAP_SequenceSet^ seqSet, 
	String^ targetFolder, 
	bool expunge
)
[<ObsoleteAttribute("Use method 'MoveMessages(bool uid,IMAP_t_SeqSet seqSet,string targetFolder,bool expunge)' instead.")>]
member MoveMessages : 
        uid : bool * 
        seqSet : IMAP_SequenceSet * 
        targetFolder : string * 
        expunge : bool -> 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.
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
ExceptionCondition
ArgumentNullExceptionIs raised when seqSet or targetFolder is null reference.
ArgumentExceptionIs raised when any of the arguments has invalid value.
InvalidOperationExceptionIs raised when IMAP client is not in valid state(not-connected, not-authenticated or not-selected state).
IMAP_ClientExceptionIs raised when server refuses to complete this command and returns error.

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