activities
latest
false
UiPath logo, featuring letters U and I in white
Productivity Activities
Last updated Nov 6, 2024

Send Email

UiPath.MicrosoftOffice365.Activities.Mail.SendMailConnections

Description

Sends an email message.

Scopes

This activity requires the following scopes:

  • Mail.ReadWrite AND Mail.Send AND User.Read

OR

  • Mail.ReadWrite AND Mail.Send.Shared AND User.Read

OR

  • Mail.ReadWrite.Shared AND Mail.Send AND User.Read

OR

  • Mail.ReadWrite.Shared AND Mail.Send.Shared AND User.ReadWrite

OR

  • Mail.ReadWrite AND Mail.Send AND User.ReadWrite

OR

  • Mail.ReadWrite AND Mail.Send.Shared AND User.ReadWrite

OR

  • Mail.ReadWrite.Shared AND Mail.Send AND User.ReadWrite

OR

  • Mail.ReadWrite.Shared AND Mail.Send.Shared AND User.ReadWrite

Project compatibility

Windows | Cross-platform

Configuration

  • Microsoft Outlook 365 connection - The connection for the Microsoft 365 account to use in the activity.
  • Use shared mailbox - Set the toggle to On if you want to use a shared mailbox. Default value is Off.

    • Shared mailbox - The email address of a user or shared mailbox. This field supports String type input.

  • Save as draft - Specifies whether the email should be saved as draft instead of being sent. By default, the email is saved as draft. This field supports Boolean values.
  • To - The primary recipients of the email, separated by pressing the Enter or Tab key. This property supports String[] variables and string array formatted values.
  • Subject - The subject of the email. This property supports String variables and string formatted values.
  • Body - The body of the email. Use the editor to enter and edit text. This property supports String variables and string formatted values.
  • Attachment(s) - The attachments to be added to the email message. Use the See more docs image button menu to switch to other input modes: Build a collection of attachments or Use variable. This field supports IResource input.
Additional options

Options

  • Send as - The email address of a user or the shared mailbox from which to send the email. This property supports String variables and string formatted values.
  • Reply to - The email addresses to use when replying, separated by pressing the Enter or Tab key. This property supports String variables and string formatted values.
  • Importance - The predefined priority of the email: Low, Normal, High.

Recipients

  • CC - The secondary recipients of the email, separated by pressing the Enter or Tab key. This property supports String[] variables and string array formatted values.
  • BCC - The hidden recipients of the email, separated by pressing the Enter or Tab key.
Note:

Batching API calls is supported for this activity when used inside: For Each File or Folder, For Each Row in Workbook, For Each List Item

Example



See also
  • Description
  • Project compatibility
  • Configuration
  • Example

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.