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.
mail:
host: "smtp.office365.com"
port: "587"
username: "xxxxxx@domain.com"
password: "xxxxxxx"
protocol: "smtp"
smtp:
timeout: 30000
auth: true
starttls:
enable: true
Not sure what am I missing.