Resolution when Send SMTP Mail message sometimes hangs and does not complete ?
Issue Description: Robots freeze on Virtual Machines without throwing an error. Send SMTP Mail Message is being run at the time.
Root Cause: Send SMTP Mail Message has been in a hang because of a bug.
Resolution: The issue will be fixed from UiPath Robot or Assistant 22.4
Workaround #1:
- Kill the Assistant process to make UiPath.Service.UserHost.exe free from parent Assistant
- Start UiPath.Service.UserHost.exe standalone or by any process except for Assistant
Workaround #2:
- Create a sub workflow with send SMTP activity
- Call this workflow using Invoke Workflow file activity
- Mention the timeout in the Invoke workflow file activity so the SMTP will not get stuck for long hours. It will throw a timeout error after specified time on Invoke workflow file activity.