Yeraze / ytnef

Yeraze's TNEF Stream Reader - for winmail.dat files
GNU General Public License v2.0
32 stars 22 forks source link

Added missing MAPI definitions and added HTML BODY support #83

Closed amit777 closed 4 years ago

amit777 commented 4 years ago

There is a PR_CONTENT_ID MAPI field that seemed to be missing along with a couple others. Pulled the values from here: https://github.com/verdammelt/tnef/blob/master/src/mapi-names.data

Also added a flag to write the HTML message body.

I believe there is a way to write a TEXT body as well, although I do not have sample data yet for that. I see in this other project's code, they have the ability:

https://github.com/verdammelt/tnef/blob/master/src/tnef.c (if you search for get_text_data). I will investigate this further later.