AnsweredAssumed Answered

Error received when sending email invite

Question asked by marius.dumitrache on Sep 30, 2018
Latest reply on Oct 2, 2018 by marius.dumitrache

Hi,

 

I need help with the following error when sending email invite to site users in Alfresco CE 5.0.d:

 

2018-09-15 00:00:03,969 ERROR [action.executer.MailActionExecuter] [FeedNotifier1] Failed to send email to user@domain.com : org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not convert socket to TLS;
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. Failed messages: javax.mail.MessagingException: Could not convert socket to TLS;
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; message exceptions (1) are:
Failed message 1: javax.mail.MessagingException: Could not convert socket to TLS;
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

 

My email settings in alfresco-global.properties file are:

### Outbound email settings
mail.host=mail.domain.com
mail.port=587
mail.username=alfresco
mail.password=password
mail.protocol=smtp
mail.smtp.starttls.enable=true
mail.smtp.auth=true
mail.from.enabled=false
mail.from.default=alfresco@domain.com

 

Thanks,

Marius

Outcomes