Mime types of ticket attachments

Hi,

Is it possible change the mime type of ticket attachment files
to appropriate type?

Our clients send in ticket MS Words file in attachment, but RT set mime
type to “application/octet-stream” and browser can only save file to the
disk and cn’t open now.

May i change mime type or may be i can study RT can set correct type?

Best regards,
Arkady Glazov
http://globster.ru

Is it possible change the mime type of ticket attachment files to appropriate type?
Our clients send in ticket MS Words file in attachment, but RT set mime type to
“application/octet-stream” and browser can only save file to the disk and cn’t open now.
May i change mime type or may be i can study RT can set correct type?

If your clients aren’t sending proper MIME headers, there isn’t a lot
RT can do (we just pass along what their browser or mail client send).
However, you can override how RT handles attachments based on their
extensions if you would like, this will override what your clients
send.

-kevin

Thank’s Kevin, but i receive tickets by email by rt-mailgate. Attachments
don’t upload it’s letter attachments

Best regards,
Arkady Glazov
http://globster.ru2014-04-04 19:31 GMT+04:00 Kevin Falcone falcone@bestpractical.com:

On Fri, Apr 04, 2014 at 09:06:26AM +0400, Arkady Glazov wrote:

Is it possible change the mime type of ticket attachment files to
appropriate type?
Our clients send in ticket MS Words file in attachment, but RT set
mime type to
“application/octet-stream” and browser can only save file to the disk
and cn’t open now.
May i change mime type or may be i can study RT can set correct type?

If your clients aren’t sending proper MIME headers, there isn’t a lot
RT can do (we just pass along what their browser or mail client send).
However, you can override how RT handles attachments based on their
extensions if you would like, this will override what your clients
send.

RT::Extension::CustomizeContentType - Customize Attachments' ContentType - metacpan.org

-kevin


RT Training - Dallas May 20-21
http://bestpractical.com/training