UiPath Activities Guide

Get Exchange Mail Messages

UiPath.Mail.Exchange.Activities.GetExchangeMailMessages

Retrieves an email message from Exchange.

Properties

Target

  • MailFolder - The mail folder from which the messages are to be retrieved.
  • SharedMailbox - Enables the retrieving of messages from a shared mailbox linked to an Exchange user account.

Options

  • GetAttachments - Specifies whether to retrieve the attachments in the email message. By default, this check box is cleared.
  • IsBodyHtml - Specifies whether the body of the message is written in HTML format.
  • Top - The number of messages to be retrieved starting from the top of the list.
  • OnlyUnreadMessages - Specifies whether to retrieve only unread messages. By default, this check box is selected.
  • MarkAsRead - Specifies whether to mark retrieved messages as read. By default, this check box is cleared.

Output

  • Messages - The retrieved messages as a collection of MailMessage objects.

Connection

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

Logon

  • User - The username of the Exchange account used to retrieve the message.
  • Password - The password of the Exchange account used to retrieve the message.
  • Domain - The Active Directory domain to connect to.

Common

  • 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).

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Get Exchange Mail Messages


Suggested Edits are limited on API Reference Pages

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