Setting Outbound Email Configuration with Office 365 account

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
(ACSCE, AWS SAA, Azure Admin)
