プロジェクト

全般

プロフィール

Vote #65580

未完了

Incoming mail IMAP : Notify when an error occurs

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Email receiving_29
対象バージョン:
-
開始日:
2009/08/12
期日:
進捗率:

0%

予定工数:
category_id:
29
version_id:
0
issue_org_id:
3732
author_id:
7360
assigned_to_id:
0
comments:
11
status_id:
1
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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


journals

Could you supply a test for the new behavior?
--------------------------------------------------------------------------------
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

Thanks
--------------------------------------------------------------------------------
It would be good if there was a general solution that also covered failures for emails piped in using extra/mail_handler/rdm_mailhandler.rb
--------------------------------------------------------------------------------
Does it work in 0.9-stable?
--------------------------------------------------------------------------------
Yes, in production in my company.
--------------------------------------------------------------------------------
Thomas Recloux wrote:
> Yes, in production in my company.

Thanks a lot!
--------------------------------------------------------------------------------
How would I modify the patch to also notify the person sending the emails?

--------------------------------------------------------------------------------
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.)
--------------------------------------------------------------------------------
Assigned issue with no assignee back to New status.
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリEmail receiving_29 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0