<?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 Unable to send email in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-send-email/m-p/79797#M24776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my email conf properties in alfresco-global.properties file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro" style="background: none #f6f6f6; border-left: 2px solid #cccccc; margin: 10px 0px; padding: 10px 20px;"&gt;&lt;P&gt;mail.host=smtp.gmail.com&lt;BR /&gt;mail.port=465&lt;BR /&gt;&lt;A href="mailto:mail.username=***@gmail.com" style="background-color: transparent; text-decoration: none; padding: 1px 0px 1px calc(12px + 0.35ex);" rel="nofollow noopener noreferrer"&gt;mail.username=***@gmail.com&lt;/A&gt;&lt;BR /&gt;mail.password=***&lt;BR /&gt;mail.protocol=smtps&lt;BR /&gt;mail.smtps.starttls.enable=true&lt;BR /&gt;mail.smtps.auth=true&lt;BR /&gt;mail.smtp.timeout=30000&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I am getting this exceptions&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro" style="background: none #f6f6f6; border-left: 2px solid #cccccc; margin: 10px 0px; padding: 10px 20px;"&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;2018-02-21 12:46:51,673 ERROR [action.executer.MailActionExecuter] [mailAsyncAction2] Failed to send email to&lt;SPAN&gt; &lt;SPAN style="color: #3d3d3d; background-color: #f6f6f6;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;A class="jive-link-email-small" href="mailto:ramesh.pate1998@gmail.com" rel="nofollow noopener noreferrer"&gt;ramesh.pate1998@gmail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;: org.springframework.mail.MailSendException: Mail server connection failed; nested exception is com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout -1;&lt;/SPAN&gt;&lt;BR /&gt;nested exception is:&lt;BR /&gt;java.net.ConnectException: Connection refused: connect. Failed messages: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout -1;&lt;BR /&gt;nested exception is:&lt;BR /&gt;java.net.ConnectException: Connection refused: connect; message exceptions (1) are:&lt;BR /&gt;Failed message 1: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout -1;&lt;BR /&gt;nested exception is:&lt;BR /&gt;java.net.ConnectException: Connection refused: connect&lt;BR /&gt;&lt;SPAN&gt;2018-02-21 12:46:51,673 ERROR [action.executer.MailActionExecuter] [mailAsyncAction1] Failed to send email to&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:ramesh.pate1998@gmail.com" rel="nofollow noopener noreferrer"&gt;ramesh.pate1998@gmail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;: org.springframework.mail.MailSendException: Mail server connection failed; nested exception is com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout -1;&lt;/SPAN&gt;&lt;BR /&gt;nested exception is:&lt;BR /&gt;java.net.ConnectException: Connection refused: connect. Failed messages: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout -1;&lt;BR /&gt;nested exception is:&lt;BR /&gt;java.net.ConnectException: Connection refused: connect; message exceptions (1) are:&lt;BR /&gt;Failed message 1: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout -1;&lt;BR /&gt;nested exception is:&lt;BR /&gt;java.net.ConnectException: Connection refused: connect&lt;BR /&gt;&lt;SPAN&gt;2018-02-21 12:46:51,674 ERROR [action.executer.MailActionExecuter] [mailAsyncAction3] Failed to send email to&lt;SPAN&gt; &lt;SPAN style="color: #3d3d3d; background-color: #f6f6f6;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;A class="jive-link-email-small" href="mailto:ramesh.pate1998@gmail.com" rel="nofollow noopener noreferrer"&gt;ramesh.pate1998@gmail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;: org.springframework.mail.MailSendException: Mail server connection failed; nested exception is com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout -1;&lt;/SPAN&gt;&lt;BR /&gt;nested exception is:&lt;BR /&gt;java.net.ConnectException: Connection refused: connect. Failed messages: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout -1;&lt;BR /&gt;nested exception is:&lt;BR /&gt;java.net.ConnectException: Connection refused: connect; message exceptions (1) are:&lt;BR /&gt;Failed message 1: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout -1;&lt;BR /&gt;nested exception is:&lt;BR /&gt;java.net.ConnectException: Connection refused: connect&lt;BR /&gt;Exception in thread "mailAsyncAction3" java.lang.ClassCastException: com.sun.proxy.$Proxy322 cannot be cast to org.alfresco.repo.action.executer.LoggingAwareExecuter&lt;BR /&gt;at org.alfresco.repo.action.ActionServiceImpl.onLogException(ActionServiceImpl.java:1823)&lt;BR /&gt;at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:442)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)&lt;BR /&gt;at java.lang.Thread.run(Unknown Source)&lt;BR /&gt;Exception in thread "mailAsyncAction2" java.lang.ClassCastException: com.sun.proxy.$Proxy322 cannot be cast to org.alfresco.repo.action.executer.LoggingAwareExecuter&lt;BR /&gt;at org.alfresco.repo.action.ActionServiceImpl.onLogException(ActionServiceImpl.java:1823)&lt;BR /&gt;at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:442)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)&lt;BR /&gt;at java.lang.Thread.run(Unknown Source)&lt;BR /&gt;Exception in thread "mailAsyncAction1" java.lang.ClassCastException: com.sun.proxy.$Proxy322 cannot be cast to org.alfresco.repo.action.executer.LoggingAwareExecuter&lt;BR /&gt;at org.alfresco.repo.action.ActionServiceImpl.onLogException(ActionServiceImpl.java:1823)&lt;BR /&gt;at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:442)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)&lt;BR /&gt;at java.lang.Thread.run(Unknown Source)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Feb 2018 07:25:25 GMT</pubDate>
    <dc:creator>manav</dc:creator>
    <dc:date>2018-02-21T07:25:25Z</dc:date>
    <item>
      <title>Unable to send email</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-send-email/m-p/79797#M24776</link>
      <description>This is my email conf properties in alfresco-global.properties filemail.host=smtp.gmail.commail.port=465mail.username=***@gmail.commail.password=***mail.protocol=smtpsmail.smtps.starttls.enable=truemail.smtps.auth=truemail.smtp.timeout=30000I am getting this exceptions2018-02-21 12:46:51,673 ERROR [</description>
      <pubDate>Wed, 21 Feb 2018 07:25:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-send-email/m-p/79797#M24776</guid>
      <dc:creator>manav</dc:creator>
      <dc:date>2018-02-21T07:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to send email</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-send-email/m-p/79798#M24777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your properties doesn't seem to be taken into account.&lt;/P&gt;&lt;P&gt;Check that your alfresco-global.properties file is readable to the alfresco process and is in the right location (should be in $CATALINA_HOME/shared/classes).&lt;/P&gt;&lt;P&gt;It may also be because there are some options that have been set in the admin console and overrides the properties in this file. Check your Alfresco admin console.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 08:45:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-send-email/m-p/79798#M24777</guid>
      <dc:creator>alxgomz</dc:creator>
      <dc:date>2018-02-21T08:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to send email</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-send-email/m-p/79799#M24778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just a dumb question: restarted alfresco after config change?&lt;/P&gt;&lt;P&gt;Second: Alfresco Versions prior 3.3 need a change to custom-email-context.xml to use smtps - but I don't think you are using 3.2 or older...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 11:24:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-send-email/m-p/79799#M24778</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2018-02-21T11:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to send email</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-send-email/m-p/79800#M24779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Martin Ehe ,@Alexander. Thank you very much for your replies,&lt;BR /&gt;&amp;nbsp;I just cleaned my maven project and all is working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 05:04:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-send-email/m-p/79800#M24779</guid>
      <dc:creator>manav</dc:creator>
      <dc:date>2018-02-22T05:04:34Z</dc:date>
    </item>
  </channel>
</rss>

