05-17-2021 10:15 AM
Hello,
I am trying to set up an outbound email service for a password reset for users but I am getting the following error
" org.springframework.mail.MailSendException: Mail server connection failed; nested exception is com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.example.com, 25; timeout -1; nested exception is: java.net.UnknownHostException: smtp.example.com. Failed messages: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.example.com, 25; timeout -1;"
I am following the following reference to set up the configuration.
https://github.com/Alfresco/acs-deployment/blob/master/helm/alfresco-content-services/README.md
Here is the configuration that I am using.
Not sure what am I missing.
05-27-2021 10:44 AM
The error is clear, it says it can not connect to smtp server listening to port 25.
org.springframework.mail.MailSendException: Mail server connection failed;
nested exception is com.sun.mail.util.MailConnectException:
Couldn't connect to host, port: smtp.example.com, 25;
You need to configure a valid smtp server which is open to serve requests from your ACS server. Set the appropriate values in config
Explore our Alfresco products with the links below. Use labels to filter content by product module.