Project

General

Profile

Actions

Defect #14403

closed

No error message if notification mail could not delivered

Added by Mathias Walter almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Email notifications
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

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.

Actions #1

Updated by Mathias Walter almost 11 years ago

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.

Actions #2

Updated by Sergey Barkalov almost 11 years ago

rv

Actions #3

Updated by Jean-Philippe Lang almost 11 years ago

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.

Actions #4

Updated by Jean-Philippe Lang almost 11 years ago

  • 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).

Actions #5

Updated by Bruno Medeiros over 10 years ago

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!

Actions

Also available in: Atom PDF