Not able to resolve smtp error. I'm not understanding the error

Main has thrown an exception

Source: Send email

Message: The remote certificate is invalid according to the validation procedure.

Exception Type: AuthenticationException

System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
at UiPath.Mail.Activities.SendMailActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Can anyone please help?

I am getting the same error. Appreciate if we can have a response

I got the same error when i was trying my practical workout 11.2

Below are the steps which i did,

  1. (I was using avast AV) I disabled the email shield

After disabling, i got different error (Authentication error- too weak login). Then i did
2. In Gmail settings, allowed ‘less secure app’.

It worked. Hope this helps.

Shahul S

See above guys…
New update was causing this issue for me… rollback to UiPath.Mail.Activities.1.1.6382.14550.zip

Hi guys…just confirm did you used port number for smtp??

Yes we used port number 25 for SMTP.