Move to folder

Component that moves messages between folders in MS Exchange.

Properties

Element properties are divided into groups, they are highlighted in the table with bold italic font. If the name of the property is marked with an asterisk *, this means that it is mandatory to specify it.

PropertyTypeDescription

General

Description of general properties can be found in the Element properties section.

Exchange

Destination folder*

String

Destination folder

Messages*

Message array

Shared inbox

String

Specify a shared inbox if messages need to be moved within it

Pure code

Example of using the element in a process of Pure code type:

LTools.Office.MSExchangeApp app = LTools.Office.MSExchangeApp.InitSvc(wf, Microsoft.Exchange.WebServices.Data.ExchangeVersion.Exchange2013_SP1, "server url", "login", "pass", "domain");
List<LTools.Office.Model.OMailMessage> msg = app.ReadMail("Inbox", true, false, 10);
app.MoveToFolder(msg[0], "folder");

Last updated