Project

tnef

0.01
No release in over 3 years
Low commit activity in last 3 years
a ruby wrapper around the tnef library
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
 Project Readme

Tnef

Extract e-mail attachments with MIME type 'application/ms-tnef'

Ships with tnef binary, so you dont have to install it (alternatively see tinnef for a distribution without binaries)

gem install tnef

Usage

Tnef.unpack(@part.attachments[part.filename]) do |file|
  puts "FILE: #{file}"
end

Gem development: updating tnef

git clone git://git.code.sf.net/p/tnef/git fresh
rsync -va fresh/ ext/tnef
cd ext/tnef
aclocal
autoconf
autoheader
automake --add-missing
make
cd ../..
rake install
rm -rf fresh