Giter Site home page Giter Site logo

zavalamathias / ytnef Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yeraze/ytnef

0.0 0.0 0.0 619 KB

Yeraze's TNEF Stream Reader - for winmail.dat files

License: GNU General Public License v2.0

Perl 0.58% C 26.12% Shell 55.28% HTML 14.58% C++ 2.81% Makefile 0.22% M4 0.42%

ytnef's Introduction

Yerase's TNEF Stream Reader

Build Status

Installation

Simply run make, and make install. On some systems you may need to edit the Makefile to change the CC= & LINK= lines to use cc instead of gcc.

Usage

ytnef filename.dat - parse the file & print some basic information.

ytnef -v filename.dat - parse the file & print EVERYTHING. good for debugging.

ytnef -f . filename.dat - parse the file and save all of the attachments to the local directory.

ytnef -h - See these and more options and examples.

Automatic stripping of TNEF streams using procmail:

If you want to use ytnefprocess, then make sure to do the following:

  1. Build and install ytnef as described in the Installation section.

  2. Make a directory ~/.ytnef

  3. Make a directory ~/.ytnef/output

  4. Install the MIME::Parser perl module. You can do this with:

    perl -MCPAN -e shell
    (let it load)
    install MIME::Parser
    
  5. Create a .procmailrc something like this:

    PATH=/bin:/usr/bin
    HOME=/home/randall
    :0fw
    * > 0
    | /usr/bin/ytnefprocess
    

and Voilà! you should be ready to go.

Help

If you want additional information exported (to the vCalendar or vCard information), then use the -v option to try & find out where the information is. Then send the winmail.dat file, along with the -v listing to me ([email protected]) along with some information & justifications. It works best if you send several data files, showing the option in various states to back up your claim. For example, if you want me to parse recurrence patterns encoded in the TNEF stream, then send yourself several meeting requests with almost identical information, and several different recurrence patterns, and (hopefully) the only fields that change will the the UID & the recurrence information.

Support

Don't hesitate to send support requests to me at [email protected]. I'll do what I can to help. Also don't hesitate to post bug reports or support/feature requests to https://github.com/Yeraze/ytnef/issues/new

ytnef's People

Contributors

amit777 avatar buzhanin avatar ericsesterhennx41 avatar georox avatar jmallach avatar ohwgiles avatar philrandom avatar rezso avatar slonik-v-domene avatar strk avatar yeraze avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.