Skip to main content

Save Exchange Attachments

UiPath.Mail.Exchange.Activities.SaveExchangeAttachements

Saves attachments from Exchange.

note

All UiPath® Exchange activities use Exchange Web Services (EWS), not Graph API. For details on the EWS deprecation, check the Microsoft documentation Deprecation of Exchange Web Services in Exchange Online.

Properties

Common

  • 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.
  • Exchange version - 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.
    note

    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.

  • Email autodiscover - Searches automatically for an Exchange server by using an email address from that server. This works only if the Exchange server has Autodiscover enabled.

Input

  • Folder path - The full path of the folder where the attachments are saved.
  • Mail message - The message whose attachments are to be saved. This field only supports MailMessage objects.

Logon

  • Domain - The Active Directory domain to connect to.
  • User - The username of the Exchange accountto be used.
  • Password - The password of the Exchange account to be used.
  • Secure password - The password of the Exchange account to be used, as a secure string.

Office 365 settings

  • Application id - The ID of your Azure Active Directory Application. This field supports only strings and String variables.
  • Authentication type - 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.
  • Directory id - The ID of your Azure Active Directory. This field supports only strings and String variables.

Output

  • Files - The list of saved attachments.
  • Resource attachments - The Exchange email resource attachments.