Rejection of one recipient by the SMTP server causes whole notification to be dropped
This ticket may replace ticket #5146.
I have tickets that do not seem to send mails. I've got a suspicion what the problem could be.
If a user has an mail address that does not work (the user was created by an administrator) is it possible that a ticket that involves this user does not send notification mails at all? I could imagine if this user is the first one that should get notified the whole process of notification gets aborted, so other involved users get no notification mails either.
I have already commented out the line 'config.action_mailer.logger = nil' in the production.rb file to see some hints in the log. However, I have expected another result. Now I can see some extra lines in the log: 'Sent mail to '. Should follow some mail recipients there? I my case there are no listed. Is this normal?
#1 Updated by Felix Schäfer over 7 years ago
- Subject changed from Email notification not sent for some issues (2) to Rejection of one recipient by the SMTP server causes whole notification to be dropped
IIRC this happens when either ActiveMailer or the SMTP server rejects the notification because of a broken or invalid mail address, the notifications being sent as a BCC to all, it causes the whole notification to be dropped.