<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Mail Task Failure in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/mail-task-failure/m-p/36943#M15543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the web interface activity-app, version 1.6.3&lt;/P&gt;&lt;P&gt;However, when I do a mail task, it always fails, and the error log is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;STRONG&gt;Caused by: org.apache.commons.mail.EmailException: Sending the email to the following server failed : localhost:25&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1421)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at org.apache.commons.mail.Email.send(Email.java:1448)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at org.activiti.engine.impl.bpmn.behavior.MailActivityBehavior.execute(MailActivityBehavior.java:102)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;... 168 more&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;STRONG&gt;Caused by: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout 60000;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;STRONG&gt;&amp;nbsp; nested exception is:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;java.net.ConnectException: Connection refused (Connection refused)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2118)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:712)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at javax.mail.Service.connect(Service.java:366)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at javax.mail.Service.connect(Service.java:246)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at javax.mail.Service.connect(Service.java:195)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at javax.mail.Transport.send0(Transport.java:254)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at javax.mail.Transport.send(Transport.java:124)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1411)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;... 170 more&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;STRONG&gt;Caused by: java.net.ConnectException: Connection refused (Connection refused)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at java.net.PlainSocketImpl.socketConnect(Native Method)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at java.net.Socket.connect(Socket.java:589)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:329)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:238)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2084)&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;... 177 more&lt;/P&gt;&lt;P style="color: #454545; font-size: 12px;"&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-size: 15px;"&gt;Can anyone give me a walk through of how to solve this problem??&lt;/P&gt;&lt;P style="color: #3d3d3d; font-size: 15px;"&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jul 2017 00:09:25 GMT</pubDate>
    <dc:creator>frog</dc:creator>
    <dc:date>2017-07-19T00:09:25Z</dc:date>
    <item>
      <title>Mail Task Failure</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/mail-task-failure/m-p/36943#M15543</link>
      <description>I'm using the web interface activity-app, version 1.6.3However, when I do a mail task, it always fails, and the error log is like this:Caused by: org.apache.commons.mail.EmailException: Sending the email to the following server failed : localhost:25 at org.apache.commons.mail.Email.sendMimeMessage(E</description>
      <pubDate>Wed, 19 Jul 2017 00:09:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/mail-task-failure/m-p/36943#M15543</guid>
      <dc:creator>frog</dc:creator>
      <dc:date>2017-07-19T00:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Mail Task Failure</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/mail-task-failure/m-p/36944#M15544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have an email server running on your localhost on port 25? If not, you will need to configure your properties file as explained in &lt;A class="link-titled" href="http://docs.alfresco.com/process-services1.6/topics/emailServerConfiguration.html" title="http://docs.alfresco.com/process-services1.6/topics/emailServerConfiguration.html" rel="nofollow noopener noreferrer"&gt;Email Server configuration | Alfresco Documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;This &lt;A _jive_internal="true" href="https://community.alfresco.com/thread/231245-severe-terminal-error-comvaadineventlistenermethodmethodexception-invocation-of-method-buttonclick-in-orgactivitiexploreruiprocesslistenerstartprocessinstanceclicklistener-failed-at-comvaaemail-configuration-for-sending-email-by-mail-task" rel="nofollow noopener noreferrer"&gt;thread&lt;/A&gt; has got some working examples in it. Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ciju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 03:29:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/mail-task-failure/m-p/36944#M15544</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-07-19T03:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Mail Task Failure</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/mail-task-failure/m-p/36945#M15545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, since you are using 1.6.3 you will&amp;nbsp;need an additional property (given below) in your activiti-app.properties file, for the out of the box email templates to work.&lt;/P&gt;&lt;P&gt;spring.freemarker.template-loader-path=classpath:/email-templates&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 15:53:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/mail-task-failure/m-p/36945#M15545</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-07-19T15:53:09Z</dc:date>
    </item>
  </channel>
</rss>

