Send SMTP Mail Message fails with An Attempt Was Made To Access A Socket In A Way Forbidden By Its Access Permissions

Send SMTP Mail message activity throws error "Send SMTP Mail Message - Business : An attempt was made to access a socket in a way forbidden by its access permissions" while running the workflow in UiPath Studio

Error Message:

Root Cause: UiPath exes are being blocked by company policies or Anti-virus on the Robot computer.

In order to solve this, the administrator of the anti-virus software must whitelist the processes pertaining to UiPath.


It is recommended to unblock all the .exe files of UiPath. Find the list of .exe files in the installation folder.

  • default is C:\Program Files\UiPath\Studio