Delete Multiple Emails in Outlook
Best Practices.
The loop to delete multiple emails:
-
Always start with the Open Outlook Instance activity and at the end of the workflow use Release Outlook Instance or Close Outlook Instance activity.
-
Add appropriate email search criteria using the Search Email (Outlook) activity.
To know more details about the Search Email (Outlook) activity, refer to the Best Practices for Outlook Activities section.
-
Use the Get Last Email Item in Context (Outlook) activity to make the last email item as the current email item, within a context.
-
Use the appropriate controls. For example, Forever and Condition.
To know more details about the Forever and Condition controls, refer to the Forever and Condition sections.
To know more details about Controls, refer to the Add a Control to an Automation section.
-
Delete the selected email using the Delete Email (Outlook) activity.
-
Use the Get Last Email Item in Context (Outlook) activity.
The following screenshot shows the example workflow to delete multiple emails in Outlook.
