Incoming mail IMAP : Notify when an error occurs
Add the possibility to notify the administrators when an error occurs during incoming mail parsing.
Add a notify_on_failure option to the tasks.
Built against the trunk in revision 2836.
Tested on trunk and 0.8.4
Updated by Thomas Recloux over 14 years ago
- File patch_incoming_mail_notify_error_with_test.diff patch_incoming_mail_notify_error_with_test.diff added
I added a test for the mailer.
I do not know how to test the rake task and the Imap class.
This patch replaces the first one
Updated by Mathieu Rochette about 13 years ago
Patrick Cummins wrote:
How would I modify the patch to also notify the person sending the emails?
I was also intersted on that, just apply the attachd patch on top of Thomas Recloux's
once applied, mail are sent only to the sender and not to admins.
maybe someon with ruby skills could works something wich would allow something like notify_on_failure=admins,sender
I think it would be great to integrate that int redmine because it's really a show-stopper if the sender can't know that his mail has been ignored.
for now, the mail just tell, the received mail could not been processed. it might be intersting to explain why. eg: the message logged (unknown mail address, not authorized, missing required field, etc.)