LumiSoft Net Help
MoveMessages Method (uid, seqSet, targetFolder, expunge)
NamespacesLumiSoft.Net.IMAP.ClientIMAP_ClientMoveMessages(Boolean, IMAP_t_SeqSet, String, Boolean)
Moves specified messages from current selected folder to the specified target folder.
Declaration Syntax
C#Visual BasicVisual 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
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and and this method is accessed.
InvalidOperationExceptionIs raised when IMAP client is not in valid state. For example 'not connected'.
ArgumentExceptionIs raised when any of the arguments has invalid value.
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