02-13-2025 05:37 AM
Good day Folks,
I am trying to configure the Outbound Email configuration for Alfresco using the following details below:
# Outbound Email Configuration
#-------------
# Sample Gmail settings
mail.host=smtp.gmail.com
mail.port=587
mail.username=ejike.chiboka@gmail.com
mail.password=chiboka123
mail.encoding=utf-8
mail.from.default=ejike.chiboka@gmail.com
mail.smtp.auth=true
mail.smtp.timeout=30000
mail.smtp.starttls.enable=true
But I keep getting the error below:
2025-02-13T11:26:22,218 [] ERROR [action.executer.MailActionExecuter] [mailAsyncAction2] Failed to send email to [kola] : org.springframework.mail.MailSendException: Mail server connection failed. Failed messages: jakarta.mail.MessagingException: Got bad greeting from SMTP host: smtp.gmail.com, port: 587, response: 421 Service not available; message exceptions (1) are:Failed message 1: jakarta.mail.MessagingException: Got bad greeting from SMTP host: smtp.gmail.com, port: 587, response: 421 Service not available
2025-02-13T11:26:22,599 [] ERROR [extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-4] Exception from executeScript: 01130009 Wrapped Exception (with status template): 01130073 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': 01130072 Failed to execute search: +@cm\:modified:[2025\-2\-6T00\:00\:00.000 TO 2025\-2\-13T23\:59\:59.999] +@cm\:modifier:"ada" +TYPE:"cm:content" -TYPE:"cm:systemfolder" -TYPE:"fm:forums" -TYPE:"fm:forum" -TYPE:"fm:topic" -TYPE:"fm:post" +(TYPE:"content" OR TYPE:"app:filelink" OR TYPE:"folder")
org.springframework.extensions.webscripts.WebScriptException: 01130009 Wrapped Exception (with status template): 01130073 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': 01130072 Failed to execute search: +@cm\:modified:[2025\-2\-6T00\:00\:00.000 TO 2025\-2\-13T23\:59\:59.999] +@cm\:modifier:"ada" +TYPE:"cm:content" -TYPE:"cm:systemfolder" -TYPE:"fm:forums" -TYPE:"fm:forum" -TYPE:"fm:topic" -TYPE:"fm:post" +(TYPE:"content" OR TYPE:"app:filelink" OR TYPE:"folder")
Please do I need to add something else to my configuration.
I look forward to hear from you guys
Explore our Alfresco products with the links below. Use labels to filter content by product module.