Skip to content
a ruby wrapper around the tnef library
C Shell TeX Awk Perl Ruby CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
ext/tnef
lib
test
.gitignore
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
tnef.gemspec

README.md

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
Something went wrong with that request. Please try again.