[FIX]Fixed the issue of mimetype not detected properly, used python mimetypes module...
authorJamin Shah (OpenERP) <jas@tinyerp.com>
Mon, 14 Apr 2014 05:29:04 +0000 (10:59 +0530)
committerJamin Shah (OpenERP) <jas@tinyerp.com>
Mon, 14 Apr 2014 05:29:04 +0000 (10:59 +0530)
commitd9423585d5a28fe007af01d58a1984a3e69883cb
tree88982574e17596aa3777a068eaa5825ea5bc6de7
parent001a034e587624e0bcca88b55d8cb5a580bec3a1
[FIX]Fixed the issue of mimetype not detected properly, used python mimetypes module to detect file's mimitype.

bzr revid: jas@tinyerp.com-20140414052904-rp4oia2py6b61xg8
addons/mail/controllers/main.py