README
1
2tnef2txt 1.0
3Brandon Long (blong@uiuc.edu)
46/26/97
5
6This is a simple C program which should be fairly portable to decode
7the Microsoft's Translation Neutral Encapsulation Format, used by
8various Microsoft OS products to transfer MAPI information through
9text only gateways such as SMTP and X.whatever. This program is only
10useful in so far as you can see what is contained in the bitstream, and
11may not even do that overly well. As of this version, it decodes most
12of the items in it, but not the MAPI properties. The documentation
13from Microsoft (converted from MS Word to HTML and text) is here, add
14whatever you like.
15
16What this package contains:
17 Makefile
18 - a fairly standard Makefile to compile this tool
19 README
20 - This file
21 apptnef.htm
22 - Documention of the TNEF format from the Microsoft FTP server,
23 translated from the original Word DOC to HTML
24 apptnef.txt
25 - Same as above, but the text version
26 config.h
27 - various defines for compiling this on different platforms. This
28 "Translation Neutral" format is actual byte order dependent, so
29 you probably need to specify a PLATFORM in the makefile
30 ms-tnef
31 - Example TNEF bitstream binary file
32 ms-tnef.out
33 - Decode of the ms-tnef example file from the td32.exe program
34 available from the Microsoft FTP server. The program is not
35 included here because it was over 500k. (Under AIX, tnef2txt
36 is under 40k. hmm)
37 tnef.c
38 - The C code for this program
39 tnef.h
40 - A stripped down version of the Microsoft tnef.h file indicated by
41 the documentation they provided. It should now compile on most
42 platforms, but there is probably still quite a bit of gunk in there
43 which isn't necessary for the program to operate.
44
45Version 1.1 (7/1/97)
46 Understands more parts of the TNEF, though it mostly punts (just
47 display what it can). Also, you can now specify -s to save
48 any attachments to files if they are stored in the stream. Could use
49 a nicer interface for that (like actually prompting for filenames and
50 the like), maybe sometime when I get ambitious.
51
52Version 1.2 (7/19/97)
53 Ok, some systems don't like reading 16/32bit data on unaligned
54 boundaries. Now, the program will work anyways, though its slower.
55 Not that its that much slower a user will notice, but anways.
56 Also, I replaced the #pragma pack() with __attribute__ ((packed)),
57 which is a GCCism, so this might now require GCC (though that should
58 be more universal than the #pragma directive).
59
60Version 1.3 (7/22/97)
61 Ok, make everything read from the stream in 8 bits, no more packed
62 structures imposed on the stream or anything.
63