UiPath.Mail.Activities.Business.SendMailX
Sends an email from the specified Outlook account.
To learn how to use this activity, see:
- Tutorial: Copying from CSV to Excel and Emailing the File.
- Tutorial: Comparing Files and Emailing Reconciliation Errors.
In the Body of the Activity
- From account - Click 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 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 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 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 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 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 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
- Body - See Body in the body of the activity.
- Subject - See Subject in the body of the activity.
Input
- Account - See From account in the body of the activity.
Misc
- Private - If selected, the data used in the activity is not logged by StudioX.
Receiver
- Bcc - Indicate the hidden recipients of the email in a similar way to how you indicate recipients for To and Cc.
- Cc - See Cc in the body of the activity.
- To - See To in the body of the activity.
Updated 2 years ago