You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not specified in the documentation but I would like to know what type of mimetypes the package can read, I had problems with people who upload files with mimetype plain/text or html as msg and I would like to validate the accepted mimetypes.
The text was updated successfully, but these errors were encountered:
I wouldn't rely on a file extension-to-mime type map to determine if the file is valid. If you see a .msg file in the wild, it's usually given application/vnd.ms-outlook. But it could also be a TNEF file, which usually has the file name winmail.dat and type application/ms-tnef or application/vnd.ms-tnef. (This library is untested on TNEF files so behaviour will be undefined.)
It is not specified in the documentation but I would like to know what type of mimetypes the package can read, I had problems with people who upload files with mimetype plain/text or html as msg and I would like to validate the accepted mimetypes.
The text was updated successfully, but these errors were encountered: