Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in RPA by (5.3k points)

I tested reading mail from Sent Items with BP Mapiex Get Mail, but it only works with Inbox (default folder in action). The folder name is correct (I took it as I see it in Outlook).

Error message: Failure in getting Mail function of Blue Prism Extended MAPI Automation. Failed to open sub-folder 'Sent Items'.

Would anyone have any ideas, what can help it work with Sent Items?

Thanks!

1 Answer

0 votes
by (9.5k points)

You are facing an issue because getmail command will look through only your inbox. You can add a rule in Outlook to move the sent items to a sub-folder , or add a new page in your MAPIEx object. let me tell you how

Open the MAPIEx object and duplicate the page called 'Get Mail', rename the page and the code stage to something else, such as get sent items, then publish it. I did it this way:

enter image description here

Open the code stage and edit this line (line 17) so that it looks like the following, from open inbox to open sent items

enter image description here

Editing the highlighted items is optional but preferable as it makes it easier to debug should there be issues. For instance, you would change anything that says inbox to sent mail.

From there you can call the action from your process just like you would call get mail

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Jul 23, 2019 in RPA by noah kapoor (5.3k points)
0 votes
1 answer
asked Jul 6, 2019 in RPA by Abhishek_31 (12.7k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...