Project

General

Profile

Actions

Patch #7598

closed

Extensible MailHandler

Added by Yuki Sonoda almost 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Category:
Email receiving
Target version:

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

extensible-mail-handler.patch (913 Bytes) extensible-mail-handler.patch Yuki Sonoda, 2011-02-10 08:20
Actions

Also available in: Atom PDF