AnsweredAssumed Answered

Error SMTP

Question asked by jdiaz on Nov 18, 2015
Hi there,

  Even my error it's usual (I think so), I'm not able to find an answer in the forum or Google. My installation is a Bitnami-based virtual machine.
I've already configured Alfresco to send out mails, in installdir/apache-tomcat/shared/classes/alfresco-global.properties file. Here's my configuration:

mail.from.default=mail@mail.whatever
mail.from.enabled=false
mail.host=smtp.MYSERVER.com
mail.port=25
mail.protocol=smtp
mail.username=user
mail.password=password
mail.encoding=UTF-8
mail.smtps.auth=false

So, when I've created a folder's rule, where a document is created, system must send a mail to a user with an account on same mail domain.
But, here's the log:

2015-11-18 14:44:04, 401 ERROR
[og.alfresco.repo.action.executer.MailActionExecuter]
[defaultAsyncAction2] Failed to send email to [user] :
org.springframework.mail.MailSendException: Mail server connection failed; nested exception is com.sun.mail.util.MailConnectException: Could'nt connect to host, port: smtp.example.com, 25; timeout -1;
nested exception is: java.net.UnknownHostException: smtp.example.com

I really don't know where I must configure mail host, assuming that LOG file is saying that remote server is "smtp.example.com" even know I've configured my smtp server.

Any help will be appreciated.

Outcomes