UiPath.Mail.Activities.Business.MoveMailX
Moves an email to the specified Outlook folder. Should be used for the currently selected email, or while iterating through a list of emails.
To learn how to use this activity, see Tutorial: Extracting Data from Automated Emails and Moving it to a Desktop Application.
In the Body of the Activity
- Email message - Click on the right side of the field and then, from the menu, select the message to move. When the activity is inside a For Each Mail Message activity, select Current Mail to indicate the current mail in the iteration. Otherwise, selectSel. Mail to use the message that is selected in Outlook at the moment when the project is executed. Alternatively, you can select Open in Advanced Editor and enter a VB expression.
- Move to - Click on the right side of the field, and then, from the menu, select Outlook and the folder where to move the email. Alternatively, choose one of the other options from the menu to indicate the folder where to move the email:
- Data from an application added to a card or from the Excel Workspace. For example, select an Excel file and then select a cell that contains a folder name.
- Text - Enter a folder name in the Text Builder.
- Open in Advanced Editor - Enter a VB expression.
Properties
Common
- Display Name - The name displayed for the activity in the Designer panel.
Input
- MailFolder - See Move to in the body of the activity.
- MailMessage - See Email message in the body of the activity.
Misc
- Private - If selected, the data used in the activity is not logged by StudioX.
Updated 2 years ago