Mimetype
-
Hello i have write a simple application for send mail via qtcpsocket and all works correctly, now i need to add attachments, i think that i have to find the way to know the mimetype of the attached file, but i'm not able to do it,
Can you help me to find a solution.Thanks
-
If you are useing QT5:
"See":http://qt-project.org/doc/qt-5.0/qtcore/qmimedatabase.html#mimeTypeForFile