[horde] mime attachment recognition
Jan Schneider
jan at horde.org
Thu Feb 14 01:09:21 PST 2002
Zitat von jason kawaja <kawaja at ece.ufl.edu>:
> i can see xls files from imp if sent from a mua that encodes as
> application/msexcel. however if i send an xls file from pine (which
> calls
> the mime attachment application/octet-stream) then imp/horde does not
> map
> the .ext (xls) to the correct mime type.
>
> i've looked at a few threads dealing with this, most seem to point to
> the
> browser; would like to force a mapping on .ext only and ignore the
> handle given from the originator.
That's not possible. But you can try to patch the MIME::getType() function
to retrieve the mime type from the file extension instead.
Good luck.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the horde
mailing list