Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

Tnef-Parser

This Delphi library extracts the message attachments, with the original file names, and the message body, including HTML, text, and RTF.

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Parse TNEF (Winmail.dat) Attachment in Delphi

Transport Neutral Encapsulation Format (TNEF) is a proprietary email attachment format used by Microsoft Outlook when when sending a message using either Rich Text Format or HTML Format. An attached file with TNEF encoding is most often named winmail.dat or win.dat, and has a MIME type of "application/ms-tnef".

The Winmail.dat contains the rich text body, MAPI properties information, and original attachments.

In this article, we introduce the code that extracts the message attachments, with the original file names, and the message body, including HTML, text, and RTF.

Read the article