Subscribe

UiPath StudioX

The UiPath StudioX Guide

Forward Outlook Email

UiPath.Mail.Activities.Business.ForwardMailX

📘

Note:

This activity was first introduced in the UiPath.Mail.Activities v1.8.0-preview activities package.

Forwards the specified Outlook email. Should be used for the currently selected email, or while iterating through a list of emails.

In the Body of the Activity

  • Email message - Click plus button on the right side of the field and then, from the drop-down menu, select the email to forward. When the activity is inside a For Each Mail Message activity, select Current Mail to indicate the current mail in the iteration. Otherwise, select Sel. 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.
  • To - Click plus button on the right side of the field, and then use one of the options in the menu to select where to forward the email:
    • Data from an application added to a card or from the Excel Workspace. For example, you can select a cell in an Excel file that contains email addresses separated by semicolon (;) to add multiple recipients, or use the email addresses from the To field of the email selected in Outlook when the project is executed.
    • Use Saved Value - Use data in the form of an email address that you previously saved for later use in the project.
    • Text - Enter one or more email addresses separated by semicolon (;) in the Text Builder.
    • Open in Advanced Editor - Enter a VB expression.
  • Cc - Click plus button on the right side of the field, and then use one of the options in the menu to select the secondary recipients of the email:
    • Data from an application added to a card or from the Excel Workspace. For example, you can select a cell in Excel with email addresses separated by semicolon (;) to add multiple recipients, or use the email addresses from the Cc field of the email selected in Outlook when the project is executed.
    • Use Saved Value - Use data in the form of email addresses that you previously saved for later use in the project.
    • Text - Enter one or more email addresses separated by semicolon (;) in the Text Builder.
    • Open in Advanced Editor - Enter a VB expression.
  • Optional new subject - Optionally, you can add a new subject for the email. If a new subject is not provided, the default Outlook subject for forwarded emails is used. Click plus button on the right side of the field and then use one of the options in the menu to add a subject for the email:
    • Data from an application added to a card or from the Excel Workspace. For example, you can select a cell in an Excel file, or you can use the subject of the of the email selected in Outlook when the project is executed.
    • Use Saved Value - Use data that you previously saved for later use in the project.
    • Text - Enter a subject in the Text Builder.
    • Open in Advanced Editor - Enter a VB expression.
  • Body - Click plus button on the right side of the field and then, from the drop-down menu, add a body for the email:
    • Data from an application added to a card or from the Excel Workspace.
    • Use Saved Value - Use data that you previously saved for later use in the project.
    • Text - Enter the body text in the Text Builder.
    • Open in Advanced Editor - Enter a VB expression.
  • Attachments - Select if you want to attach Files or Folders, and then, for each attachment, click browse files next to the field and browse to the attachment and select it. Alternatively, you can indicate file or folder paths by selecting an option from the plus button menu on the right side of the field:
    • Data from an application added to a card or from the Excel Workspace.
    • Use Saved Value - Use data in the form of a path that you previously saved for later use in the project.
    • Text - Enter a path in the Text Builder. You can combine text with a formula from an Excel file cell, for example to add a date to the file name using formulas in the Excel Workspace.
    • Open in Advanced Editor - Enter a VB expression.

Properties

Common

  • Display Name - The name displayed for the activity in the Designer panel.

Email

Input

Misc

  • Private - If selected, the data used in the activity is not logged by StudioX.

Receiver

Updated 2 years ago


Forward Outlook Email


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.