473,695 Members | 2,688 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

TNEF decoder

I'm aware of
http://cheeseshop.python.org/pypi/pytnef/
but it uses the tnef utility, and I'd like a pure Python solution
(along the lines of http://www.freeutils.net/source/jtnef/ ).

Is there one?

Thanks,
Alan Isaac
Aug 28 '06 #1
5 2709
David Isaac wrote:
I'm aware of
http://cheeseshop.python.org/pypi/pytnef/
but it uses the tnef utility, and I'd like a pure Python solution
(along the lines of http://www.freeutils.net/source/jtnef/ ).

Is there one?

Thanks,
Alan Isaac
A place I once worked at had a project that included some TNEF
handling. There was one developer assigned fulltime to it. He was the
one who sat at his desk hurling curses at his workstation at the top of
his lungs, later he developed a pretty severe drinking problem.

Good luck.

HTH,
~Simon

Aug 30 '06 #2
hg
Simon Forman wrote:
David Isaac wrote:
>I'm aware of
http://cheeseshop.python.org/pypi/pytnef/
but it uses the tnef utility, and I'd like a pure Python solution
(along the lines of http://www.freeutils.net/source/jtnef/ ).

Is there one?

Thanks,
Alan Isaac

A place I once worked at had a project that included some TNEF
handling. There was one developer assigned fulltime to it. He was the
one who sat at his desk hurling curses at his workstation at the top of
his lungs, later he developed a pretty severe drinking problem.

Good luck.

HTH,
~Simon
You mean he stopped ?

Aug 30 '06 #3
"Simon Forman" <ro*********@ya hoo.comwrote:

8<-----------------------------
| A place I once worked at had a project that included some TNEF
| handling. There was one developer assigned fulltime to it. He was the
| one who sat at his desk hurling curses at his workstation at the top of
| his lungs, later he developed a pretty severe drinking problem.
Should I take this to mean: " Don't go near TNEF because your underwear will
become carnivorous and consume your genitalia? "

- Hendrik

Aug 30 '06 #4
Hendrik van Rooyen wrote:
"Simon Forman" <ro*********@ya hoo.comwrote:

8<-----------------------------
| A place I once worked at had a project that included some TNEF
| handling. There was one developer assigned fulltime to it. He was the
| one who sat at his desk hurling curses at his workstation at the top of
| his lungs, later he developed a pretty severe drinking problem.
Should I take this to mean: " Don't go near TNEF because your underwear will
become carnivorous and consume your genitalia? "
When you think about it, the top of your lungs is a very strange place
to keep a workstation!

regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://holdenweb.blogspot.com
Recent Ramblings http://del.icio.us/steve.holden

Aug 30 '06 #5
Hendrik van Rooyen wrote:
"Simon Forman" <ro*********@ya hoo.comwrote:

8<-----------------------------
| A place I once worked at had a project that included some TNEF
| handling. There was one developer assigned fulltime to it. He was the
| one who sat at his desk hurling curses at his workstation at the top of
| his lungs, later he developed a pretty severe drinking problem.
Should I take this to mean: " Don't go near TNEF because your underwear will
become carnivorous and consume your genitalia? "

- Hendrik
Hahahaha!

In fairness, TNEF was only a small-ish part of what was slowly
driving this poor guy crazy in front of our eyes. He was trying to
make some sort of server that integrated with the Evolution "groupware"
thingy. I don't know much more than that because I stayed the hell
away from it.

FWIW, our tnef, um, "parser" or whatever it was started with one of the
brightest guys (in a shop of pretty bright guys, yours truly excepted
;P) spending *months* with outlook (or whatever) and a hex editor:
change one thing, export tnef, see what changed in the binary data,
repeat...

Remarkably, he did not descend to drinking. I don't know the state of
his genitals though..

Peace,
~Simon

Aug 30 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1012
by: David Isaac | last post by:
I'm looking for Python code to extract files from MS-TNEF attachments. (I'm aware of the C code at http://tnef.sourceforge.net/ ) Thanks, Alan Isaac
0
3339
by: S Etchelecu | last post by:
I'm having trouble understanding the MIME::Decoder usage. Within the context of a MIME email handling program I have an array, @data, and I want to uuencode it. I thought I could instantiate a MIME::Decoder with an encoding of 'x-uuencode' and then call the encode method as, my $decoder = new MIME::Decoder('x-uuencode'); $decoder->encode(@data, @uudata); However, the encode method only accepts STREAMs as arguments. Obviously I
0
1518
by: Chris Hearson | last post by:
Hi All, I'm currently porting a VC++ app that generates SMTP messages to C#. Part of the generate message header is a TNEF stream that enables a custom form to be used when that email is received by an Exchange server. I'm using the System.Web.Mail classes to generate my C# SMTP message. Can someone point me in the right direction for adding a TNEF stream to a message of this type.
2
2947
by: Petri Savolainen | last post by:
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
0
1685
by: CTDev Team | last post by:
Hi, We are using Exchange Server 5.5, and have applications written in VB6 and C# that read and process emails. We are experiencing intermittent errors similar to C# Application System.Runtime.InteropServices.COMException (0x80004005): The client
0
1532
by: Whitney | last post by:
I'm not sure which category this would fall under, but I assumed that something dealing with languages would be as good a place as any. I was sent a message using characters such as Z|¥" (which of course is Alt+numbers), and I've heard these characters called Windows Character Set, but I don't know the "official" name for them (which would be much appreciated if anyone did know). There is supposedly a decoder that will allow me to...
3
5244
by: centur | last post by:
I have a service, which acquire IMessage (CDO Interop) object from datasource (binary restored eml (RFC822) message from SQL database). And due to ms-tnef format of message - i can't extract attachments from it. Is there any example how I should parse TNEF part (I iterated over BodyParts, and found IBodyPart object with application/ms-tnef as ContentMediaType. Unfortunately, IBodyPart.SaveToFile() saves only complete object with...
6
8787
by: Nebulism | last post by:
Hey everyone, I am currently creating images pixel by pixel. This is too slow for many images. Anyways, I want to use the fromstring module in the Image library. I have read at this url, http://effbot.org/imagingbook/decoder.htm, that I use an unsigned little endian 16 bit decoder in the calling of the function. My segment that is called looks like this: img2=Image.fromstring("L",(512,512),dummystring2,"raw", "F;16") However I run...
6
2279
by: Ankit | last post by:
Hi everyone,i wanted to build a flash decoder using python can somebody tell me which library to use and what steps should i follow to make a flash(video) decoder?By a decoder i mean that i need to display all the pixel values of each frame.Waiting for your replies. Regards Ankit Anand
0
9137
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9004
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8838
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7683
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6506
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5842
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4592
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3025
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2289
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.