Defect #14403
closed
No error message if notification mail could not delivered
Added by Mathias Walter over 11 years ago.
Updated over 11 years ago.
Category:
Email notifications
Description
As soon as one mail address of a user is wrong or does not exist anymore, no notification mails are send to any other involved or watching user of an issue. Also, no error message is displayed and no log entry is made. Sending of notification mails in other projects is not affected.
This bug report is strongly related to #123 but focuses on the traceability and logging.
It is not possible to find the cause of nondelivery notification mails until config.action_mailer.logger = nil
in config/environments/production.rb
is commented out. But still no error message is logged. Someone has to guess which of the mail addresses is invalid.
One strange thing is that sending a mail over the same mail server as configured in Redmine to two or more recipients with one invalid address but using a standard mail client works well. Any recipient with a valid mail address gets the mail and the sender gets a non-delivery mail just for the invalid address.
I wonder why the redmine mailer behaves differently.
Mathias Walter wrote:
I wonder why the redmine mailer behaves differently.
Redmine does not behaves differently. Try to send an email with your email client to the exact same recipients and using the same SMTP server, it should fail as well.
- Subject changed from no error message if notification mail could not delivered to No error message if notification mail could not delivered
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Target version set to 2.4.0
- Resolution set to Fixed
Email delivery errors are now logged in the application log file (r12010).
Is it possible to backport it to 2.3.x branch? I'm investigating a few problems regarding email not being delivered and it would be very useful!
Also available in: Atom
PDF