<?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 Failed to send email as the address is incorrectly formatted in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/failed-to-send-email-as-the-address-is-incorrectly-formatted/m-p/212513#M165643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created a test space under my user home and I defined a rule to get an email notification when a new document is created in that space. The rule seems to work except for an annoying problem regarding the e-mail address format. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I'm using an openLDAP authentication system and I defined my e-mail addresses in the classic format &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:name.lastname@company.com" rel="nofollow noopener noreferrer"&gt;name.lastname@company.com&lt;/A&gt;&lt;SPAN&gt; but I noticed that in the sender field Alfresco use this format as is.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;From: &amp;lt;a.user@mycompany.it&amp;gt;&lt;BR /&gt;To: &amp;lt;marco.busetto@mycompany.it&amp;gt;&lt;BR /&gt;Subject: New contents notification &lt;BR /&gt;&lt;BR /&gt;A new document 'Welcome', is available in the 'XYZ' space, it was added by A user.&lt;BR /&gt;&lt;BR /&gt;You can view it through this link:&lt;BR /&gt;[…]&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;So I tryed to change the format of some e-mail address in my LDAP directory as follow:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Name Lastname &amp;lt;name.lastname@mycompany.it&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After that, some feature like the invitation or the "Email Space users" seem to work and in the sender and recipients fields I can see the correct format:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;From: A User [mailto:a.user@mycompany.it]&lt;BR /&gt;To: Marco Busetto&lt;BR /&gt;Subject: You have been invited to '/Company Home/User Homes/…&lt;BR /&gt;&lt;BR /&gt;You have been invited to 'XYZ' by A User.&lt;BR /&gt;&lt;BR /&gt;You will have the role of: Contributor&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Unfortunately some other features don't work anymore, like i.e. the notification of new contents that I defined as a space rule. In that case in Alfresco I receive an error like &lt;/SPAN&gt;&lt;EM&gt;"Failed to create content due to error: 05180014 Failed to send email to:marco.busetto"&lt;/EM&gt;&lt;SPAN&gt; and in the alfresco.log file I can see an error like this: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;10:38:49,426 ERROR [org.alfresco.repo.action.executer.MailActionExecuter] Failed to send email to 'Marco Busetto &amp;lt;marco.busetto@mycompany.it&amp;gt;' as the address is incorrectly formatted&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Another strange thing is that if the recipient is a group and not a user (or more than a user) everythings seems to work fine. Anyway I don't like very much this workaround: if I had 10.000 users I couldn't thinking to create 10.000 groups, one for every single user… &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jun 2010 10:14:53 GMT</pubDate>
    <dc:creator>marcobusetto</dc:creator>
    <dc:date>2010-06-18T10:14:53Z</dc:date>
    <item>
      <title>Failed to send email as the address is incorrectly formatted</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/failed-to-send-email-as-the-address-is-incorrectly-formatted/m-p/212513#M165643</link>
      <description>I created a test space under my user home and I defined a rule to get an email notification when a new document is created in that space. The rule seems to work except for an annoying problem regarding the e-mail address format. I'm using an openLDAP authentication system and I defined my e-mail add</description>
      <pubDate>Fri, 18 Jun 2010 10:14:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/failed-to-send-email-as-the-address-is-incorrectly-formatted/m-p/212513#M165643</guid>
      <dc:creator>marcobusetto</dc:creator>
      <dc:date>2010-06-18T10:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to send email as the address is incorrectly formatted</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/failed-to-send-email-as-the-address-is-incorrectly-formatted/m-p/212514#M165644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have come across a situation similar to yours and i followed this thread &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=9&amp;amp;t=25488" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=9&amp;amp;t=25488&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I posted my solution on the same thread. you can use the jar find here&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://code.google.com/p/alfresco-mail-novalidation/downloads/detail?name=alfresco-repository-3.4.d.jar&amp;amp;can=2&amp;amp;q=" rel="nofollow noopener noreferrer"&gt;http://code.google.com/p/alfresco-mail-novalidation/downloads/detail?name=alfresco-repository-3.4.d.jar&amp;amp;can=2&amp;amp;q=&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 10:29:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/failed-to-send-email-as-the-address-is-incorrectly-formatted/m-p/212514#M165644</guid>
      <dc:creator>vignesh_sabapat</dc:creator>
      <dc:date>2011-12-09T10:29:14Z</dc:date>
    </item>
  </channel>
</rss>

