Defect #29461

Receiving E-Mails via IMAP strips attached emails if "truncate after these lines is configured"

Added by Erich Balan almost 2 years ago. Updated over 1 year ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Email receiving
Target version:-
Resolution: Affected version:

Description

We have configured our redmine to receive tickets via e-mail (IMAP). If an e-mail with a NEW ticket has an attachment like an image (inline OR attached) a ticket is created with the attached file within the ticket.

But, when someone responds to the ticket via e-mail and the ticket has an attachmend the following hapens:

- if the attachment (image) is inline and above the marker text we defined under "Incoming emails" > "Truncate emails after one of these lines" it will be attached to the comment of the ticket. This is a correct behavior.

- if the attachment (image) is inline and below the marker text it is truncated and not included in the comment of the ticket. This is a correct behavior.

DEFECT:

- if the attachment is not inline (real email attachment) it will be truncated, if the e-mail content contains the words defined under "Truncate emails after one of these lines". I think this is not a correct or wanted behavior.

Example:

Config > Incoming emails > Truncate emails after one of these lines:
-- please answer above this line --

Resoponse E-Mail to Redmine contains the following text:

Please correct the arrow as seen in the picture.

-- please answer above this line --
[... old ticket content ...]

-> image.png attached to the email

=> the comment will be added to the ticket, but without the image.

I think, that the image is integrated at the end of the email by the email client or email protocoll. Redmine truncates everything after the defined text. As the image follows at the end it will also be truncated.

Is it possible to set the receiving email function in a way that it recognizes attachments even if the mail is truncated?

Perhaps this is also the problem of tickets: #5594 and #8093

History

#1 Updated by Go MAEDA over 1 year ago

  • Category set to Email receiving

#2 Updated by Erich Balan over 1 year ago

Hi,
is there a plan to fix this issue?

Thx
Erich

Also available in: Atom PDF