AnsweredAssumed Answered

Failed to send email as the address is incorrectly formatted

Question asked by marcobusetto on Jun 18, 2010
Latest reply on Dec 9, 2011 by vignesh.sabapathi
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 addresses in the classic format but I noticed that in the sender field Alfresco use this format as is.

From: <>
To: <>
Subject: New contents notification

A new document 'Welcome', is available in the 'XYZ' space, it was added by A user.

You can view it through this link:

So I tryed to change the format of some e-mail address in my LDAP directory as follow:
Name Lastname <>

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:

From: A User []
To: Marco Busetto
Subject: You have been invited to '/Company Home/User Homes/…

You have been invited to 'XYZ' by A User.

You will have the role of: Contributor

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 "Failed to create content due to error: 05180014 Failed to send email to:marco.busetto" and in the alfresco.log file I can see an error like this:

10:38:49,426 ERROR [org.alfresco.repo.action.executer.MailActionExecuter] Failed to send email to 'Marco Busetto <>' as the address is incorrectly formatted

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…

Any ideas?