Productivity Activities
Last updated Jul 9, 2024

Send Exchange Mail Message


Sends an email message from Exchange.


  • Attachments - A list of string arguments that represent the attachments you want to send alongisde the email.
  • AttachmentsCollection - An IEnumerable<String> object that specifies a list of files which you want to send as attachments.
  • DisplayName - The display name of the activity.
  • TimeoutMS - Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds).
  • Subject - The subject of the email message.
  • Body - The body of the email message.
Exchange settings
  • Server - The email server host that is to be used.
  • ExchangeVersion - Specifies the lowest version of the Exchange server that is used. The options displayed in this field range from the 2007 to the 2013 version. Please note that the version number indicates the lowest level of service you support. This means that if you have a 2016 exchange server, you can select the Exchange2013 option.
  • EmailAutodiscover - Searches automatically for an Exchange server by using an email address from that server. This works only if the Exchange server has Autodiscover enabled.
  • MailMessage - The message to be forwarded. This field only supports MailMessage objects.
  • User - The username of the Exchange account used to send the message.
  • Password - The password of the Exchange account used to send the message.
  • SecurePassword - The password of the Exchange account used, as a secure string.
  • Domain - The Active Directory domain to connect to.
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Office 365 settings
  • ApplicationId - The ID of your Azure Active Directory Application. This field supports only strings and String variables.
  • AuthenticationType - The authentication options for Office 365. The available options are:
    • UserNameAndPassword - Standard Username and Password Login.

      Important: The ApplicationID property is required when selecting UserNameAndPassword authentication. This ensures ROPC authentication is used instead of basic authentication, which has been deprecated in Exchange online.
    • Interactive - Interactive Token (Auth 2.0).
    • Windows Integrated - Integrated Windows Authentication.
  • DirectoryId - The ID of your Azure Active Directory. This field supports only strings and String variables.
  • IsBodyHtml - Specifies whether the body of the message is written in HTML format.
  • SaveCopy - Specifies whether to save a copy of the email in the Sent folder. By default, this check box is cleared.
  • IsDraft - Specifies whether the message should be saved as a draft.
  • To - The main recipients of the email message.
  • Cc - The secondary recipients of the email message.
  • Bcc - The hidden recipients of the email message.
  • Name - The display name of the sender.
  • From - The email address of the sender.
  • Properties

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.