Defect #2436
closedstrip variables from received mail body (in receive_mail)
0%
Description
I just tested sending an email to redmine, with
Project: foo
in the email body;
then fetched the email using :
rake redmine:email:receive_imap ...
The issue was created using that method, but the
Project: foo
line is left in the issue body.
I guess other variables would still be there, too (?).
One expects theses variables to be stripped from the issue body.
Updated by Isaiah DeRose-Wilson almost 16 years ago
I agree, it would be really nice if redmine could remove that information before updating the ticket. Also I have some clients that reply to their ticket notification messages, and it would be nice if redmine remove the ticket details from the reply message before adding it as an update to the ticket.
Updated by Jean-Philippe Lang almost 16 years ago
- Status changed from New to Resolved
- Target version set to 0.8.2
- Resolution set to Fixed
Not actually a defect, but it's done in r2426.
I agree, it would be really nice if redmine could remove that information before updating the ticket. Also I have some clients that reply to their ticket notification messages, and it would be nice if redmine remove the ticket details from the reply message before adding it as an update to the ticket.
Isaiah, if you have a solution to propose, please fill a feature request.
Maybe we could add some kind of delimiter at the very top of the notification so that we can detect the end of the reply later.
Updated by Eric Davis almost 16 years ago
Jean-Philippe Lang wrote:
Isaiah, if you have a solution to propose, please fill a feature request.
Maybe we could add some kind of delimiter at the very top of the notification so that we can detect the end of the reply later.
I use a ---
delimiter to strip content from email. Works good because it will strip email signature lines (typically start with --
) and strips most of the extra content from Redmine emails. I can port it over if it would be useful.
Updated by Jean-Philippe Lang over 15 years ago
- Status changed from Resolved to Closed
Merged in 0.8 branch in r2512.
Updated by Jean-Philippe Lang almost 15 years ago
- Category changed from Email notifications to Email receiving