Skip to content

Repository files navigation

TNEFDecoder

Simple PHP library to decode TNEF files (winmail.dat).

It is based on SquirellMail plugin

#Requirements:

  • PHP >= 7.0
  • PHP-mbstring extension

#Usage Include via composer:

composer require qualityunit/tnef-decoder

Create object to parse attachment file

$attachment = new TNEFAttachment();

Parse string with attachment file and receive array of extracted file objects.

$attachment->decodeTnef($buffer);
$files = $attachment->getFiles();

About

TNEF Decoder

Resources

Stars

16 stars

Watchers

12 watching

Forks

Releases

Packages

Used by

Contributors

Languages