Community
 
 
 

CloudPortal Business Manager 1.x

342 followers
 
Avatar
Administrator

javax.mail.MessagingException: Can't send command to SMTP host; nested exception is:

Avatar

javax.mail.MessagingException: Can't send command to SMTP host; nested exception is:

Hello,

I am not able to send mail to users for account activation etc.

The error message i get is as follows :

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. Failed messages: 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
Caused by: javax.mail.MessagingException: Can't send command to SMTP host
Caused by: 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
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

========================
End of log.

Please help .

regards

VincentS


Faustina Glory MEMBERS 19 August 2013 - 14:25 PM
1 comment
0

Please sign in to leave a comment.

 
 

Previous 1 comment

Avatar
Administrator
Avatar

javax.mail.MessagingException: Can't send command to SMTP host; nested exception is:

I found out the problem.

The problem was with the protocol setting in the cloud.properties file.

It is supposed to be smtps with port 465.

snippet of the mail configuration section is here :

vmops.mail.protocol=smtps
vmops.mail.host=smtp.gmail.com
vmops.mail.port=465
vmops.mail.username=<your gmail id>
vmops.mail.password=<your gmail password>

Regards

Vincent S


Faustina Glory MEMBERS 20 August 2013 - 08:46 AM
Comment actions Permalink

Top Contributors