[imp] attachment MIME types

Liam Hoekenga liamr at deathstar.org
Thu Jan 11 06:29:12 PST 2007


>>
>> Anyhoo.  What I'd like to know is how an attachment's MIME type is 
>> determined when composing mail in IMP.  I think I asked a similar 
>> question about a year ago (where excel files were getting identified 
>> as word files despite their .xls extension) and was told that the 
>> user's browser determined the MIME type of the attached file.  Is 
>> that indeed the case?
>
> Yes. And if it can't, i.e. is sending the attachment with a mime type 
> of application/octet-stream, then we use MIME_Magic on the server to 
> determine the mime type.
Does anyone have information on how to change / correct the MIME types 
that browsers assign to files?  (Various browsers / various platforms?)  
We've been asked about it here at UMich, and I think this would be 
useful information for the User FAQ.

Liam



More information about the imp mailing list