Python TNEF (winmail.dat attachment access) library?
Petri Savolainen
petri.savolainen at iki.fi
Tue Oct 4 12:46:29 EDT 2005
Thanks for your comments. I just posted the first draft of a pure-python
library called "pytnef" at python cheeseshop. Note that this is so far
merely a conversion of the Ruby library. Some important functionality is
missing, there seem to be some problems, but it's a start.
I also tried a few tools that claim to decode TNEF and most of them
actually fail to extract attachments according my tests (used
winmail.dat attachments saved from Mozilla Thunderbird). So if you'd
happen to know of TNEF decoders that _work_, please let me know.
Regards,
Petri
Petri Savolainen wrote:
> Hello,
>
> has anyone seen such a beast? I tried googling, PyPI, Parnassus etc. but
> could not find any pure-python code nor extensions to interface with any
> of the existing implementations.
>
> I am thinking about taking the Ruby code I found at
>
> http://www.zweknu.org/technical/index.rhtml?s=p%7c15
>
> and converting that to Python. I have no experience with Ruby so this
> will be rather interesting...
>
> I guess another option would be to use CTypes to plug into some tnef
> shared library/DLL. I'd prefer a pure-python route though...
>
> Any pointers/recommendations appreciated.
>
> Thanks,
>
> Petri
>
More information about the Python-list
mailing list