Hello everyone,

I'm writing a simple spam filter as a project, partly to learn python.
I want to filter by filetype, however, the mime content type I get
using .get_content_type gives limited and possibly bogus information,
especially when trying to detect viruses or spam.

I would like to use the magic file to detect the filetype, if this is
possible.  I have the attachement stored and (generally) decoded in a
variable.

Justin

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to