The remote certificate is not valid according to the validation procedure

when i try to send emails from my local machine
i saw the exception
The remote certificate is not valid according to the validation procedure

I am sorry but more information is required. Where do you see this and exactly what does it say?

Have you setup Let’s Encrypt on your box yet?