Hi, When I am Doing Email automation, I am getting an error like this. I Used IMAP Get Mail Message activity with following properties.
Port : 993
Server : imap.gmail.com
Secure Connection : Auto
RemoteException wrapping MailKit.Security.SslHandshakeException: An error occurred while attempting to establish an SSL or TLS connection.
The server’s SSL certificate could not be validated for the following reasons:
• The server certificate has the following errors:
• The revocation function was unable to check revocation for the certificate.
How to correct this Issue? I tried with port No 143, 465, 587 by changing Secure connection as per requirements.
I tried with Secure Connection → None. In that time getting another error like “The IMAP server has unexpectedly disconnected. Exception Type: MailKit.Net.Imap.ImapProtocolException”
Firstly Check whether you have given Third Party Access to Uipath through your mail id after providing access try again creating the same workflow.
Also make sure Less Secure Apps in On in your gmail account.
Thank You