Actions
Patch #7598
closedExtensible MailHandler
Status:
Closed
Priority:
Normal
Assignee:
Category:
Email receiving
Target version:
Start date:
2011-02-10
Due date:
% Done:
0%
Estimated time:
Description
app/models/mail_handler is useful but not extensibly from plugins. I think it would be useful if MailHandler were extensible by making a subclass based on it.
I wrote the attached patch. This introduces MailHandler#dispatch_to_default which just calls receive_issue by default. Plugin can extend the dispatch table by overriding #dispatch_to_default.
Files
Actions