cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with outbound email settings

igalvit
Champ in-the-making
Champ in-the-making
Hi,

I got some troubles with the configuration of the email settings for outbound email. I'm sure that my email settings are correct and the account is valid. In the alfresco-global.properties I have this setup:

mail.host=smtp.domain.com
mail.port=25
mail.username=invitationuser
mail.password=<password>
mail.encoding=UTF-8
mail.smtp.from=someone@domain.com
mail.from.default=someone@domain.com
mail.smtp.auth=true

But when I send an invitation for a new user I get this error in my alfresco.log file: (The oneadmin@gmail.com address is the email of the System Admin and the user@gmail.com is the address of the new user)

22:45:08,773 ERROR [org.alfresco.web.bean.TemplateMailHelperBean] Failed to send email to user@gmail.com
org.springframework.mail.MailSendException: Failed messages: javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
        com.sun.mail.smtp.SMTPAddressFailedException: 553 5.7.1 <oneadmin@gmail.com>: Sender address rejected: not owned by user invitationuser
; message exception details (1) are:
Failed message 1:
javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
        com.sun.mail.smtp.SMTPAddressFailedException: 553 5.7.1 <oneadmin@gmail.com>: Sender address rejected: not owned by user invitationuser

[…]

If I change the System Admin address to someone@domain.com it works perfectly but I don't know how is this possible. Is necessary that the notification user's address is the same as the system administrator's address?

Best regards,

Ignacio
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
Yes.

igalvit
Champ in-the-making
Champ in-the-making
Hi,

Thanks for you help.

Ignacio.

vessvass
Champ in-the-making
Champ in-the-making
Following on the topic: Does it mean that Alfresco Share registered users can not send invitation mail to other users with their own e-mail credentials ? My experience is that all outbond e-mails have the 'from' fields as of the alresco admin user mail address defined in the alfresco global properties file ( as above)..Is this correct?