activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity Activities

Last updated Dec 18, 2024

Delete Exchange Mail Message

UiPath.Mail.Exchange.Activities.DeleteMail

Deletes an Exchange email message.

Properties

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).
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.
Logon
  • User - The username of the Exchange account used to delete the message.
  • Password - The password of the Exchange account used to delete the message.
  • SecurePassword - The password of the Exchange account used, as a secure string.
  • Domain - The Active Directory domain to connect to.
Mail
  • MailMessage - The MailMessage object retrieved from the Get Exchange Mail Message that is to be deleted.
Misc
  • 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.
Options
  • DeleteMode - Specifies the method of deleting the message. HardDelete - permanently deletes the message, SoftDelete - similar to sending the item to the Recycle Bin and then emptying it, MoveToDeletedItems - similar to sending the item to the Recycle Bin.
  • 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.