How to Delete an Outlook email message?

outlook
howto

#1

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?


#2

Hi @ronang,

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 :slight_smile:

Regards,
V


#3

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).


#4

Hi @ronang

got any solution ??

Regards,
Abhilash Reddy


#5

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.