-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
1
-
Currently when Jira tries to send a mail to a group of users, it validates the email addresses for all users before sending the mail. If any of the users have an invalid email (eg because they have departed the organisation etc) then the entire mail will not be sent and will go on the error queue.
We could set the javaxmail sendPartial flag as a command line option, and then the emails would be sent, but Jira still sees it as a failed operation and puts it on the queue to resend (resulting in a loop).
In our organisation we have a large team who often have people leaving the organisation, and this breaks emails for the team.
Jira should allow mails to be delivered to all users with valid email addresses, ignoring invalid email addresses.
It would be just enough to make constant MAX_SEND_ATTEMPTS=10 in MailQueueImpl configurable. Value 1 would happily cover this scenario.