Outlook requires Allow access when sending email

email
outlook

#1

Hi,

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?


#2

Can anyone provide any info on this?


#3

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.

Cheers,
Josef


#4

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.

Otherwise, simply continue.


#5

Hi @J0ska,

I can’t lower the settings in Programmatic Access Security. Anyways thanks for your input.

@Mr_JDavey,
Thanks for your input. I’ll check this one out


#6

HI @sesha

How did you solve this issue?


#7

Hi,

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.