Send Attachmenta to multiple Outlook Account

Dear Sir/Ma’am,

How can I send attachments to multiple email account using Outlook in UiPath

1 Like

Hey @badal_patel

You can just use multiple outlook recipients in the To field of the Send Outlook Activity

Hope that helps

Thanks
#nK

how?

1 Like

Can you able to identify the To field of your Send Outlook Mail activity ?

Thanks
#nK

send Outlook mail message

1 Like

How to add multiple outlook recipients?

1 Like

Hey @badal_patel

Please find the below… You need to pass the semi colon separated email IDs of the recipients in the To field of the Send Outlook Mail Message activity.

And you can see the Blue highlighted option as Attach Files at the bottom of the activity. Use that to attach files using the file path you have.

Hope this helps.

Thanks
#nK

ok, Thanks.
and how I get a confirmation mail to my Outlook mail as “Atcchments sent Successfully”?

1 Like

Hey @badal_patel

In that case, you can please add your email in either the CC or BCC as required.

Hope this helps.

Thanks
#nK

but I want confirmation mail by uipath. it’s possible?

1 Like

Yes, you can send a mail from the code for sending the attachments using one more Send Outlook Mail Message - But that doesn’t still guarantee that your mail has been sent.

Else, you may need to build a separate logic for this,

  1. Send attachments to recipients

  2. Check whether the mail sent appeared in the ‘Sent Items Folder’ of outlook with a timeout

  3. Once it is confirmed drop a successful message email to you or anyone required | Else drop a failed message for the same

Hope this may help

Thanks
#nK

can you please send a simple flow for this?

1 Like

Hey @badal_patel

Kindly have a look at the below demo…

nmnithinkrishna_OutlookSendMailConfirmation.zip (2.8 KB)

Hope this helps

Thanks
#nK

I am getting error sent mails not declared. It may be inaccessible due to protection level
but I already declared sent mails

1 Like

Hey @badal_patel

Kindly check the scope of it please.

Thanks
#nK

Flow Excitation completed but I did not receive any success or failure message

1 Like

Hey @badal_patel

Did you included send outlook in the IF block ?

I just placed log message since it was just a demo piece.

Thanks
#nK

yes,
I can send a flow if you want

1 Like

Yes pls…

Store Procedure.zip (9.7 KB)

1 Like