On Mon, Jan 26, 2009 at 06:49:53AM +1030, Antony Blakey wrote:
> Treat a supplied null as an error.
>
> If mimetype isn't supplied, use a default based on the attachment name.

Default based on attachment name sounds misleadingly simple

I agree that this should be the way forward but we will need to:

  * ship a custom mime.types configuration file under /etc
  * know how to read the system mime.types file usually at /etc/mime.types
  * know how to pick up any other user supplied mime.types file
  * add configuration options for this in the ini files

Check your local mime.types file for more hints. The format is pretty simple.

-- 
Noah Slater, http://tumbolia.org/nslater

Reply via email to