I am trying to send mail using Outlook. The process is to read the email folder and check for mail with specific subject. If found, send an email to the target users.
I have completed implementing the logic but it seems outlook shows a pop-up to Allow UIPath to access the mail and for sending too.
Is there any way to add UIPath to the trust list of Outlook so that it won’t ask me to allow each time?
Hi,
you may try to look into “Trust Center Settings” in “Outlook Options”. There is “Programmatic Access Security” tab which might solve your problem. But I do not have direct experience with this.
Hi there @sesha,
Alternatively, if you are unable to achieve this, you can possibly utilise a parallel, checking for the ‘Allow’ popup or a retrieved Mail Message.
If the popup appears, handle it accordingly, then get the mail messages again.
This seems to be outlook/microsoft specific problem and there are suggestion in google to fix the issue with group policy or in some cases with direct registry editing.
Same issue appeared in our automation and we are looking for how to solve this re-appearing issue.
start a parallel activity : do your stuff with access to outlook (i.e read/send email) || intercept the popup and click on Yes. The interception must be done with continue on error, because if you will do a second action within a certain time frame, the popup will not appear.
I’m not using anymore that flow as the issue was solved by the windows administrator.
However, it was not a difficult one. Just have a parallel activity that contains
Hi, Thanks for your reply.
I have tried using parallel activity. first I used Get Outlook Activity and secondly I used element Exist for below pop up and then I clicked on checkbox->10 mint->allow. But it is not working while using send mail activity in place of Get Outlook.
Hello Mohini, you to handle this in a parallel activity since these settings are controlled by the administrator and unless you have those rights you can’t modify the settings.