in reply to Comparing different MIME type checking modules
They all look they are generating 'legal' MIME information. (Although I'm willing to be proved wrong on that.) The question is which produces the best MIME-type for your files. From what you've shown, File::MIMEInfo::Magic seems to do a fairly good job on a wide variety of files, although it is possible one of the others does a better job on the files you most commonly send.
As for matching what your email client generates: It's got it's own system for doing this, and it may or may not generate a better MIME type for any specific file.
Basically, there may be several different MIME types that could be used for a specific file, depending on the level of specificity available to the software on either end. In general more specific is better, but I don't think it is an error to list a more generic type as long as it still correctly describes the file.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Comparing different MIME type checking modules
by saurabh.hirani (Beadle) on May 22, 2009 at 08:15 UTC |