AnsweredAssumed Answered

outbound email randomly fails

Question asked by e-no91 on May 21, 2014
Latest reply on Apr 2, 2015 by echiboka
I keep having this problem. It occurs randomly everytime I make a change to share (even when manage rule on document) or restart alfresco. My error is either
i) [org.alfresco.repo.action.executer.MailActionExecuter] Failed to send email to xxx@gmail.com
org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Unknown SMTP host: smtp.gmail.com;
  nested exception is:
   java.net.UnknownHostException: smtp.gmail.com. Failed messages: javax.mail.MessagingException: Unknown SMTP host: smtp.gmail.com;

ii)  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, outbound] failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mail' defined in file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\email\OutboundSMTP\outboundSMTP-context.xml]: Invocation of init method failed; nested exception is org.alfresco.error.AlfrescoRuntimeException: 04210000 email.outbound.err.send.failed

I'm wondering does this have to do with Internet connection?

Outcomes