The ktnef library contains an API for the handling of TNEF data.

The API permits access to the actual attachments, the message
properties (TNEF/MAPI), and allows one to view/extract message formatted
text in Rich Text Format format.

Homepage:
https://kontact.kde.org/
