<?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 Re: Alfresco mail.smtp.timeout meaning in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-mail-smtp-timeout-meaning/m-p/461387#M39348</link>
    <description>&lt;P&gt;Hi &lt;COMMUNITYMENTION mentionid="313350" avatar="/assets/community/images/default-user.png"&gt;@Stefano De Giacometti&lt;/COMMUNITYMENTION&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to the Alfresco &lt;A href="https://docs.alfresco.com/content-services/5.2/config/email/" target="_self"&gt;docs&lt;/A&gt; (for 5.2 but I don't believe there was any significant change in this area from 4.x)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mail.smtp.timeout =&lt;/STRONG&gt;Specifies the timeout in milliseconds for SMTP.&lt;/P&gt;&lt;P&gt;I think this is the time Alfresco should wait for a response from the mail server before abandoning the attempt to send mail &amp;amp; report back an error.&lt;/P&gt;&lt;P&gt;I would suggest reaching out to you new mail provider to understand the reason why the timeout has to be doubled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jun 2021 14:10:03 GMT</pubDate>
    <dc:creator>Eddie_May1</dc:creator>
    <dc:date>2021-06-17T14:10:03Z</dc:date>
    <item>
      <title>Alfresco mail.smtp.timeout meaning</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-mail-smtp-timeout-meaning/m-p/461386#M39347</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we have an Alfresco 4 product.&lt;/P&gt;&lt;P&gt;The Outbound mail system settings were made using the Web Console (/alfresco/service/enterprise/admin/admin-outboundemail).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a SMTP Timeout set to 5000. And it worked well. Now, we are switching to another mail provider and with 5000 we receive this message if we send a test mail:&lt;/P&gt;&lt;P&gt;org.springframework.mail.MailSendException, Mail server connection failed; nested exception is javax.mail.MessagingException: Unexpected exception borrwoing connection from pool;&lt;BR /&gt;nested exception is:&lt;BR /&gt;java.util.NoSuchElementException: Could not create a validated object, cause: ValidateObject failed. Failed messages: javax.mail.MessagingException: Unexpected exception borrwoing connection from pool;&lt;BR /&gt;nested exception is:&lt;BR /&gt;java.util.NoSuchElementException: Could not create a validated object, cause: ValidateObject failed, javax.mail.MessagingException, Unexpected exception borrwoing connection from pool, java.util.NoSuchElementException, Could not create a validated object, cause: ValidateObject failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We solved increasing the timeout to 10000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But because we use the mail to send the invites to the private sites, if we are sending 20 invites, does the timeout impact on performance?&lt;/P&gt;&lt;P&gt;I can't find any documentation that explain me what is that timeout:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- timeout to make the connection?&lt;/P&gt;&lt;P&gt;- timeout to send the mail before the connection end?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What happens if the mail server is down? Is the customer forced to wait 20*timeout value before recevining any message?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 13:30:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-mail-smtp-timeout-meaning/m-p/461386#M39347</guid>
      <dc:creator>Stefano_De_Giac</dc:creator>
      <dc:date>2021-06-16T13:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco mail.smtp.timeout meaning</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-mail-smtp-timeout-meaning/m-p/461387#M39348</link>
      <description>&lt;P&gt;Hi &lt;COMMUNITYMENTION mentionid="313350" avatar="/assets/community/images/default-user.png"&gt;@Stefano De Giacometti&lt;/COMMUNITYMENTION&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to the Alfresco &lt;A href="https://docs.alfresco.com/content-services/5.2/config/email/" target="_self"&gt;docs&lt;/A&gt; (for 5.2 but I don't believe there was any significant change in this area from 4.x)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mail.smtp.timeout =&lt;/STRONG&gt;Specifies the timeout in milliseconds for SMTP.&lt;/P&gt;&lt;P&gt;I think this is the time Alfresco should wait for a response from the mail server before abandoning the attempt to send mail &amp;amp; report back an error.&lt;/P&gt;&lt;P&gt;I would suggest reaching out to you new mail provider to understand the reason why the timeout has to be doubled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 14:10:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-mail-smtp-timeout-meaning/m-p/461387#M39348</guid>
      <dc:creator>Eddie_May1</dc:creator>
      <dc:date>2021-06-17T14:10:03Z</dc:date>
    </item>
  </channel>
</rss>

