mhonarc-users

Override mime type based on file extension

2010-07-26 15:07:40
Is there an easy way to override the mime type based on the file extension of 
an attachment?

Currently .diff files show up as mime type application/octet-stream and I'd 
like them to be treated as text/plain.

I could probably do this by writing my own filter for application/octet-stream 
but was hoping there was a simpler way.

<Prev in Thread] Current Thread [Next in Thread>
  • Override mime type based on file extension, Robert Nelson <=