Hi everyone,
I would appreciate your help with an issue we are currently experiencing.
After migrating several processes from the Windows-Legacy framework to the Windows framework in UiPath, some of the existing processes that send email notifications are no longer working as expected. These processes were functioning correctly prior to the migration.
The exception we are encountering indicates an SslHandshakeException , with the following message stating that “a certificate chain was processed, but terminated in a root certificate which is not trusted by the trust provider.”
From the error details, it appears that the issue may be related to SSL/TLS certificate validation when establishing the SMTP connection.
Could anyone please advise if there is any official documentation, recommended steps, or guidance that we can refer to for resolving this issue? I would also like to share the relevant information with our system admin , who manages certificate configuration on our machines.
Any insights or suggestions on how to move forward would be greatly appreciated.
Thank you in advance for your support.
@BibinThomas26
Have you upgraded the packages to the latest possible versions? If not, try this.
Thanks for the message.
Yes, the mail activities package is updated to latest version 2.7.10
Previously, I belive the version was kept at 1.23.11 (this used to work with windows-legacy framework)
For both versions - I am encountering the same issue now.
Alright @BibinThomas26.
Which activity you are using for sending email?
I am trying to use this Send SMTP Email activity available here at :
Installed > Mail > SMTP > Send SMTP Email
And these are the informations I am passing while trying to send a test sample email.
- Use Integration Service > turned off
- To : reciever email id
- Subject : test subject line
- Body : test body line
- Server : SMTP Server Hostname
- Port : empty (also tried with 25 but no difference)
- Ignore CRL : False
- Secure Conenction : Auto
- Continue on error : False
- Sender > From : from email id
@loginerror
Could you please help on this?
This error usually indicates a certificate trust issue on the machine, not a problem with the workflow itself. Plz verify below-
- Verify the SMTP server certificate chain.
- ensure the required root/intermediate certificates are installed in the Trusted Certificate store on the machine running the process.
- Test the SMTP connection from the same machine to verify the issue is not specific to UiPath.