cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco outbound email settings

EjikeAlfie
Confirmed Champ
Confirmed Champ

Hi All,

I am having issues getting alfresco outbound email settings to work with a local smtp server. I am using the email configuration below from Alfresco docs:

# Outbound Email Configuration
#-------------
# Sample Gmail settings
mail.host=mail.mycompanyname.com
mail.port=465
mail.username=
mail.password=
mail.encoding=utf-8
mail.from.default=username@mycompanyname.com
mail.smtp.auth=false
mail.smtp.timeout=60000

When I implement a workflow with email notification, I get the following error below:

2025-02-28T15:16:03,343 [] ERROR [action.executer.MailActionExecuter] [mailAsyncAction1] Failed to send email to [ada] : org.springframework.mail.MailSendException: Mail server connection failed. Failed messages: jakarta.mail.MessagingException: Exception reading response;  nested exception is:    java.net.SocketTimeoutException: Read timed out; message exceptions (1) are:Failed message 1: jakarta.mail.MessagingException: Exception reading response;  nested exception is:   java.net.SocketTimeoutException: Read timed out

2025-02-28T15:16:23,512 [] ERROR [action.executer.MailActionExecuter] [mailAsyncAction2] Failed to send email to [kola] : org.springframework.mail.MailSendException: Mail server connection failed. Failed messages: jakarta.mail.MessagingException: Exception reading response;  nested exception is:   java.net.SocketTimeoutException: Read timed out; message exceptions (1) are:Failed message 1: jakarta.mail.MessagingException: Exception reading response;  nested exception is:   java.net.SocketTimeoutException: Read timed out

Based on my research, I have learnt that this has to do with: java.net.SocketTimeoutException: Read timed out. Meaning it is taking too long to get a response from the other device.

Can anyone guide me on how I can resolve this issue.

Thanks in advance.

0 REPLIES 0