Problem displaying inline PDF attachments

Moderator: crythias

Locked
matt
Znuny newbie
Posts: 5
Joined: 23 Jun 2011, 08:39
Znuny Version: 3.0.4

Problem displaying inline PDF attachments

Post by matt »

A customer sent an email asking us to refer to the attachment. However there did not appear to be any files attached when viewing the article in OTRS. A quick check in the database however and I found this in the article_attachment table:

content_type = application/pdf; name="3569_001.pdf"
content_id = <B2BC52F36581CB409F066C7FCE3B5F6C@Mining.local>

If I change the content_id to NULL, a link to the attachment appears as normal when viewing the ticket in OTRS. I think the problem is that when content_id is set, OTRS attempts to display the attachment inline, but this is probably not possible with a pdf document. Is there any way to alter this behaviour, for example is there a way to strip out the content_id value for pdf attachments? Thanks.
Locked