Project

General

Profile

Actions

Defect #2436

closed

strip variables from received mail body (in receive_mail)

Added by Jérémy Lal about 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
Start date:
2009-01-03
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

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.

Actions #1

Updated by Gerrit Kaiser about 15 years ago

+1 bothering me a little, too

Actions #2

Updated by Isaiah DeRose-Wilson about 15 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.

Actions #3

Updated by Jean-Philippe Lang about 15 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.

Actions #4

Updated by Eric Davis about 15 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.

Actions #5

Updated by Jean-Philippe Lang about 15 years ago

  • Status changed from Resolved to Closed

Merged in 0.8 branch in r2512.

Actions #6

Updated by Jean-Philippe Lang over 14 years ago

  • Category changed from Email notifications to Email receiving
Actions

Also available in: Atom PDF