Using Outlook in a loop

Hi,
I need to send outlook email in a loop with different attachments from using UI clicks.

What is advisable to do
Use application- Outlook
Loop - Attach window? Make
Clicks?

Please suggest. Thanks a lot,

hey

we dont use ui automation to send outlook mails, we use the office package, use the send oulook mail activity

regards

@A_Learner

UiAutomation is not the recommended approach to do the stuff mentioned.

It’s always recommended to go with background automation with the activities available.

Kindly let us know the exact challenge of any to help resolve.

Thanks
#nK

if outlook installed in your machine you can outlook activities or use smtp & imap activities

Hello @A_Learner

Is there any specific reason for going with Ui automation for the outlook? If not, you can direclty use the outlook package which is offering by the uipath.You can check the below doc for it.

You can use Send outlook mail message to send the email and you can attach the documents in the activity itself.