- Create an Integration service
- Integration service → Add Connection
- To send an email select Microsoft outlook 365 connector
- Use a valid AAD account for connection
- Once connection created successfully below screen will popup under connections section
- Add connections to UiPath Apps
- In Connection section select the valid connector and add it.
- Upon successful connection add to app you will see connection as below
- Add the rules to send an email into Apps
- Add a button on app to send email (this can be changes based on requirements)
- Select Microsoft outlook 365 rule → Send the message specified int the request body using either json
- Ignore the (*) mark field internet message header if you don’t want. This is marked as required but its not required.
- Add message click on (+) icon
- Add body , subject and recipients , ccRecipients is not required.
- Add email till the last node as below
Testing
I have enabled the above rules and configuration for Apps and tested it and this is working. Please find the email output as below.
Happy automation !!!