We are receiving below error while trying to sent mail using exchange server. “The request failed. The proxy tunnel request to proxy http://***/ failed with status code 403”.
Note - We are able to sent mail manually from the server which we are trying to execute bot.
@Anil_G ,
What permission issue. Can you please elaborate more?
What activity are you using for this?
Send Exchange Mail Message activity
I think it is due to Corporate Proxy Blocking
Some corporate networks block direct HTTPS connections to certain servers unless your app authenticates with the proxy because UiPath activities don’t always automatically use the system proxy credentials.
Check with your IT team if the proxy requires authentication.
OR Try Outlook Activities Instead
If the Exchange mail activity is being blocked but Outlook is installed locally, you can use Outlook activities e.g. Send Outlook Mail Message which don’t require a direct EWS connection.
Happy Automation
Hi @Nikhil_Zambare1 ,
Same error only
Hi @bhavesh.choubey ,
Outlook is not installed locally. Also we are able to sent mail s using SMTP mail activity option.
Hi @ashokkarale ,
The configuration is correct only. We are facing this issue while trying to sent mail through Send Exchange Mail Message activity. Also the Exchange server is not gone via proxy.
Okay but if you want to use Outlook activities then you have to Install Outlook app on your desktop or else try this
Disable Autodiscover = False
Set Server = https://<your-exchange-server>/EWS/Exchange.asmx
Sometimes the autodiscover step is what gets blocked by the proxy.
