For instance, you may want to check a POP-3 server every 5 minutes for new emails to process. These emails may contain attachments to save to a specified folder.
Create the For Loop that will repeat the Retrieve Email task:
From within the Project Designer page, expand the Loops folder in the Component Library, and then drag the For Loop task to the Project Outline.
On the For Loop page, specify the Begin Index value, the End Index value, and the Step. In this example the Loop will run 20 times and increment by one step each time.
Create the Retrieve Email Task to retrieve the Email:
From within the Project Designer page, expand the Email folder in the Component Library, and then drag the Retreive Email task to the Project Outline.
In the Retrieve Email page, specify the Mail Box and attachment options.
Other Tasks could be inserted here to further process the saved attachments if needed.
Create a Delay Task to add a pause in the Loop:
From within the Project Designer page, expand the Loops folder in the Component Library, and then drag the Delay task to the Project Outline.
Specify the length of time to wait before checking for new emails.