How to delete an outlook email message? Looks like the outlook app integration cannot be used on this one. The Exchange has “Delete Exchange Mail Message” but are there any cases where this cannot be used? Prohibited by our exchange server? Or there is just something wrong with my exchange email configuration in the said activity?
Use Move Outlook Mail Messages and in Mail Folder Property mention the name of the Delete folder (Trash/Deleted Items) etc.
The respective mail will be moved to Deleted items / Trash folder and that’s it
Thanks Vikas! That’s an acceptable solution. However, I’m sorry if I did not specify earlier, but I’m looking to permanently delete it using UIPath (with app integration if possible).
I don’t think it is possible in UiPath because there is no activity for delete mails from outlook. Also as @ronang suggested to use Move Outlook Mail Message which is not a feasible solution because its taking to much time to move bulk mails (more than 1K) to folder and also we need to manually delete mails form Deleted/Trash folder they why we should waste time to build program to move emails. Also manually deleting emails more faster than using moving mails to folder.
Automatically empty the Deleted Items folder
- File > Options
- Advanced , then under Outlook Start and Exit, select the Empty the Deleted Items folder upon exiting check box.
- To turn off notifications before the Deleted Items folder is automatically emptied, scroll to the Advanced Options screen until you see Other, and then check that the Prompt Confirm for Deletion Before Deleting Items check box is not checked.