Subscribe

UiPath StudioX

The UiPath StudioX Guide

Send Outlook Email

UiPath.Mail.Activities.Business.SendMailX

Sends an email from the specified Outlook account.

To learn how to use this activity, see:

In the Body of the Activity

  • From account - Click plus button on the right side of the field and then, from the drop-down menu, select an account added to an Outlook Account Card.
  • To - Click plus button on the right side of the field, and then use one of the options in the menu to select the recipient 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 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 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 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.
  • Subject - Click plus button on the right side of the field and then, from the menu, add a subject 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 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 use one of the options in the menu to 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


Send 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.