Hi RPA Techies,
In this blog post, we are going to have a look at how we can retrieve or Get CC Recipients from Outlook Using Automation Anywhere v11.
Get CC Recipients From Outlook Using Automation Anywhere
Sometimes, there might be a requirement where you need to fetch the CC recipient list from the email that the bot is processing and copy them as part of your final bot notification email.
Now, if you are using the Outlook v2 Metabot and The Logic named “GetSMTPAddressForCCRecipientsArray” you will get the error – “System.ArgumentException” as shown below:
There is a workaround or a few additional steps that you would need to perform in order to fix this error. You need to edit Metabot Logic and update the below-highlighted field. I have added the variable $smtpVar$ as a value for the “pr_smtp_address” variable.
Now set the value for the input parameter smtpVar as “http://schemas.microsoft.com/mapi/proptag/0x39FE001E” and save the Metabot logic.
After you have done all these changes, and now when you run the bot you would be able to extract the CC Recipient List from Outlook email. In the screenshot below, you can see the bot displayed two email ids that were part of the CC Recipient list.
Hope this post on “Get CC Recipients From Outlook Using Automation Anywhere” was helpful for you. Kindly help us spread the word by sharing this post in your community. This would help your fellow RPA Developers to gain some knowledge.
You may more about Metabots on Automation Anywhere’s Docs portal.
Implementing RPA with Cognitive Automation and Analytics Specialization
Design, develop and deploy software bots with RPA. Build an intelligent digital workforce using RPA, cognitive automation, and analytics. Automate business processes using Automation Anywhere products.
Offered By: Automation Anywhere
We believe that after reading this post you should be able to Generate API-Key to access APIs in A360. If you face any issues, feel free to comment below.
For more posts on A360, check this 👉 Automation Anywhere A360 topics