Truncated images are still attached to the ticket when created by incoming e-mail
This ticket is refering to: https://www.redmine.org/projects/redmine/repository/revisions/3226
I have a Mail looking like:
CONTENT ------ SIGNATURE TEXT SIGNATURE IMAGE
I setup my delimiter "------" in incoming mail settings in redmine.
I send a mail. Ticket is Created.
Ticket Content Looks like:
Everything is truncated perfectly.
BUT: the signature image is attached to the ticket. This shouldnt happen since its truncated. Maybe there must be changed in the parse order? First strip, then parse files? Instead of parse files and then strip. Please have a look at this.
Updated by Marius BALTEANU almost 4 years ago
- Status changed from New to Closed
- Resolution set to Invalid
In addition, you can use the setting "Exclude attachments by name" to truncate the attachments by name or using regular expressions.
I'm closing this as Invalid, please reopen if something is missing.
Updated by Robert Röttger almost 4 years ago
- Status changed from Closed to Reopened
Let me clarify it again. I am not talking about attachments. I am talking about a INCLUDED signature image which REDMINE converts into a ticket attachment. So for me this this image is clearly is a part of the "Content" (text body) because it is included (inline) and not attached to the mail. This is why it should be truncated. It makes no sense at all to truncate the text around the image but not the image itself.
As for the setting "Exclude attachments by name": this will not work. the images are always called "image001.jpg" (seems this is the basic attachment name for images inside the mail which is generated by redmine). I can not exclude them because then i exclude all inline images in the email body.