Project

General

Profile

Actions

Defect #29461

open

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

Added by Erich Balan almost 6 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
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

Actions #1

Updated by Go MAEDA almost 6 years ago

  • Category set to Email receiving
Actions #2

Updated by Erich Balan over 5 years ago

Hi,
is there a plan to fix this issue?

Thx
Erich

Actions

Also available in: Atom PDF