Hi All,
I am configuring mail server with valid credentials, when i send test mail, i am getting following error,
The mail settings you entered were not valid. Error thrown was: javax.mail.MessagingException: Can't send command to SMTP host; nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Suggestions appreciated.
Thanks
Ramesh
Hi Ramesh,
This can be caused by various different stuff.
Please check your mail server and be sure it's properly configured.
Much times this error raises because the server is using a self signed certificate, and the mail server could not verify it.
You can change your configuration to debug for more specific details as shown at the java documentation:
http://docs.oracle.com/javase/1.5.0/docs/guide/security/jsse/JSSERefGuide.html#Debug
Please activate the debug and paste the log here if your mailserver is working perfectly.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.