Community
 
 
 

CloudPortal Business Manager 1.x

342 seguidores
 
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
1 comentário
0

Por favor, entrar para comentar.

 
 

Previous 1 comentário

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
Ações de comentário Permalink

Top Contributors