When using ‘Send OUtlook Mail Message’ activity I get a pop up window saying: ‘A program is trying to send an e-mail message on your behalf when trying to send a Template via E-mail’
I’m using Windows Server 2008 R2 Standard. This server is setup as a High density server where we will have 3 robots installed.
Steps to reproduce:
‘Send OUtlook Mail Message’ activity in a Windows Server 2008 R2 Standard
Current Behavior: Email message can not be sent in UiPath until you click allow in the pop up window
Expected Behavior:
Studio/Robot/Orchestrator Version: N/A
Last stable behavior: N/A
Last stable version: N/A
OS Version: Windows Server 2008 R2 Standard
Others if Relevant: (workflow, logs, .net version, service pack, etc):
The IT team recommended to verify if UiPath is COM compliant as a trusted add-in for relaying the email. I’m not sure if this is relevant.
The robot stops on the send email activity and it doesn’t progress further until you manually click on Allow. I tried adding the click button but it doesn’t work as it doesn’t move to the next activity
Well, yes, this is a similar problem, but the process in UiPath is not moving to the next step and UiPath is not giving an error either. UiPath is just stuck waiting in the pop up window for the user to click ‘Allow’. Even I have it in the UiPath process to click ‘Allow’ it doesn’t move to the click activity. I tried the code posted by @vvaidya but I get the same issue.
In case if there is possibility that the pop up will be shown only sometimes and not for each emails sent, put the Attach window activity in try-catch and handle the catch.
@Madhavi, the process is getting stuck some times in the ‘allow’ window and I don’t understand why. I tried adding and changing the delay times but I’m uncertain to know what is the best. It generally works, but as sometimes it doesn’t it causes to stops production.
Any ideas on how to make it 100% reliable?
Note that the ‘allow’ window appears twice
The first time I need to press ‘allow access for…’ and ‘allow’
The second time, after a loading bar, you need to press ‘allow’ again. Here is where it seems to get stuck not pressing the ‘allow’ in the second window. I have a loop to check if the ‘allow’ window exist. I’m not sure what to do next.
Find attached Email.zip (66.3 KB)
the process I have