Dependency Graph
View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0016409 | Plugin - EmailReporting | General | public | 2013-09-25 23:33 | 2026-11-09 05:57 |
| Reporter | libregeek | Assigned To | SL-Gundam | ||
| Priority | normal | Severity | feature | Reproducibility | have not tried |
| Status | resolved | Resolution | not fixable | ||
| Summary | 0016409: Modify email notification content if ER plugin is enabled | ||||
| Description | It would be nice if the email content is modified if EmailReporting plugin is enabled. The case is that people tend to reply to the email notification inline and this is not recorded as note to the respective issue. So we may have to add a line to the start of message saying something like "Reply above this line". We may also have to put a warning message like "Do not reply inline". The above changes should apply only if EmailReporting plugin is enabled. I'm not sure whether we can modify the email content using events, but we can request upstream if this makes any sense. | ||||
| Tags | No tags attached. | ||||
|
Currently the goal of the EmailReporting plugin is only processing the incoming email. If people answer inline then the reply part of the email should not be removed in the first place. As for any modifications in the notification system. I feel that should a separate plugin that depends on EmailReporting if you so wish |
|
|
I agree with you. Initially, I thought of a different plugin, but the inline reply part put me back to the ER plugin. But since you suggest a new plugin, then it's the way to go. AFAIK, there are no events available to customise the mail content. So this cannot be achieved immediately. |
|
|
I'm going to keep this issue open. Maybe i'll think of something that could facilitate this feature. |
|
|
You can make plugins optionally depend on another plugin and plugins can check whether other plugins are present and if so do something Though the biggest issue is that, to my knowledge, we do not have any plugin events available that would allow us to modify email content If this does become possible one would only need to add the following code to check whether emailreporting is currently processing an email if function_exists( 'ERP_get_mailbox_api_name' ) or something like that... |
|
|
Cas created a code that might help. But it requires code editing because, like you said, there is not option to change using a normal plugin. Since this is out-of-scope i will close this issue |
|
related to
child of
duplicate of