Jira "Invite New users" email does not work but email notification works

Haipeng_Jin July 24, 2016

We are running JIRA server. The email server has been set up and all the issue notifications seem to work well with email notifications (any changes on issue will be sent to watchers' emails).

However, when using the JIRA web "invite new user" interface to invite new users to join, the system indicates that emails are sent but the users did not receive any of the emails.

Any idea where to look for the problem? Anyone has similar experience?

2 answers

0 votes
apatahoma June 25, 2018

Seems that, we are dealing with the same problem. Everything works well, except inviting new users. It is also quite confusing, because there's message with confirmation, that invitation was send successful, while it wasn't.

Problem can be worked around by configuring 'Outgoing Mail' to use Gmail account - it worked in our case. Therefore it might be an email service provider dependent issue.

Until this setting can be changed directly in Jira, you probably have to consider solving it on the SMTP server side.

 

0 votes
Haipeng_Jin July 24, 2016

Just for information, after checking the log, it seems the failure is caused by the following error:

 

com.sun.mail.smtp.SMTPSenderFailedException: 553 Mail from must equal authorized user

The problem is that I have set up an outgoing mail server for Jira, the default access to this mail server uses something like "jira-no-reply" as the authorization user. This  works when JIRA sends notification emails.

However, when doing new user invitation, I logged in JIRA as a normal admin, for example "tom". the Outgoing mail automatically puts tom@mydomain.com into the From field. This seems to be causing the error.

Any idea how to fix it? how to allow the from field to be arbitrary?

Suggest an answer

Log in or Sign up to answer