Hi everyone, I developed a bot on a custromer’s PDL, running on a VM, that have to send an email at the end of process, but when the activity sendOutlookEmail is performed I get a pop alert from Outlook saying “A program is trying to access e-mail addresses […]”. I think this is can be resolve with an firewall, but the customer, for security issues, can’t install this. There ia another way to resolve it? It is possible to use STMP for sending outlook email?
You do need some additional parameters if you plan on using this activity, mainly a set of valid credentials and the Exchange server (these should be stored in the Orchestrator as Assets).
Your exchange server parameter is the problem. I do not think you are using the correct server value.
The Exchange Server should be an URI, since your value does not respect this format, you’re getting an exception.
Basically, your Server value should contain the protocol prefix in the beginning like https:// .
You can probably ask your IT for the exchange server
Go to >> “File>Option>Trust center” in Outlook.
Right Side window, Click “Trust Center Settings…” button.
Left Side Window, Click “Programming Access”
Check “Never warn me about suspicious activity”
@Siltra:
This is normal issue which we face every now and then as maximum time clients are not giving us right to change the setting.
For this issue use image exist activity to check this prompt. Select the check box and from drop-down option choose 10 minutes so that your BOT execution will not get interrupted.
Other option is:
Use IMAP or SMTP protocol option to configure Gmail or any other mail service which client uses.
Hi Siltra.
I have came across this security pop up when using get outlook email. Try using parallel activity. On the left side you can have the outlook interaction activity and on the right side check with element exist for the security pop up and handle it with ui automation.