<?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 Outbound email failure in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/outbound-email-failure/m-p/128468#M34843</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I had Alfresco Community 6.2 installed on a server that i backed up and restored in a new server. Everything works fine (as far as i know) except for the outbound emails, sometimes they work and sometimes they don't, this is the error i'm getting:&lt;/P&gt;&lt;PRE&gt; ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-1] Exception from executeScript: Error creating bean with name 'mail' defined in URL [jar:file:/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/lib/alfresco-repository-7.134.1.jar!/alfresco/subsystems/email/OutboundSMTP/outboundSMTP-context.xml]: Invocation of init method failed; nested exception is org.alfresco.error.AlfrescoRuntimeException: 11240018 Failed to send email to:&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;alfresco-global.properties:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;#
# Outbound Email Configuration
#-------------

mail.host=smtp.gmail.com
mail.port=465
mail.protocol=smtps
mail.username=
mail.password=
mail.encoding=UTF-8
mail.smtps.starttls.enable=true
mail.smtps.auth=true
mail.debug=true

mail.from.default=
mail.testmessage.send=true
mail.testmessage.to= 
mail.testmessage.subject=Outbound SMTP 
mail.testmessage.text=The Outbound SMTP email subsystem is working.&lt;/PRE&gt;&lt;P&gt;I checked in my gmail, the option "allow less secure app access" is on.&lt;/P&gt;&lt;P&gt;I checked with the system administrator, all the ports are fine.&lt;/P&gt;&lt;P&gt;What might be the problem here? since it works one time and doesn't work another time.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Dec 2020 11:15:58 GMT</pubDate>
    <dc:creator>imanez1</dc:creator>
    <dc:date>2020-12-25T11:15:58Z</dc:date>
    <item>
      <title>Outbound email failure</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/outbound-email-failure/m-p/128468#M34843</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I had Alfresco Community 6.2 installed on a server that i backed up and restored in a new server. Everything works fine (as far as i know) except for the outbound emails, sometimes they work and sometimes they don't, this is the error i'm getting:&lt;/P&gt;&lt;PRE&gt; ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-1] Exception from executeScript: Error creating bean with name 'mail' defined in URL [jar:file:/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/lib/alfresco-repository-7.134.1.jar!/alfresco/subsystems/email/OutboundSMTP/outboundSMTP-context.xml]: Invocation of init method failed; nested exception is org.alfresco.error.AlfrescoRuntimeException: 11240018 Failed to send email to:&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;alfresco-global.properties:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;#
# Outbound Email Configuration
#-------------

mail.host=smtp.gmail.com
mail.port=465
mail.protocol=smtps
mail.username=
mail.password=
mail.encoding=UTF-8
mail.smtps.starttls.enable=true
mail.smtps.auth=true
mail.debug=true

mail.from.default=
mail.testmessage.send=true
mail.testmessage.to= 
mail.testmessage.subject=Outbound SMTP 
mail.testmessage.text=The Outbound SMTP email subsystem is working.&lt;/PRE&gt;&lt;P&gt;I checked in my gmail, the option "allow less secure app access" is on.&lt;/P&gt;&lt;P&gt;I checked with the system administrator, all the ports are fine.&lt;/P&gt;&lt;P&gt;What might be the problem here? since it works one time and doesn't work another time.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Dec 2020 11:15:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/outbound-email-failure/m-p/128468#M34843</guid>
      <dc:creator>imanez1</dc:creator>
      <dc:date>2020-12-25T11:15:58Z</dc:date>
    </item>
  </channel>
</rss>

