How to permanently delete outlook email messages?

robot
activities
studio
uipath

#1

Hello Guys,
I created a bot which move emails to ‘Deleted Items/Trash’ folder but I did not find any activity to delete these messages permanently from ‘Deleted Items/Trash’ folder. Can anyone help me how we can achieve this using uipath studio? Later I will be scheduling bot for automation.

Thank you,
Navneet


#2

Navaneet, It can be handled in multiple ways. By using Outlook API or by navigation.
Please find following link on outlook API by using C#

if you want to handle by navigation method, please capture all steps to delete and code accordingly.

hope my inputs are useful.