473,799 Members | 2,868 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 2717
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
1018
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
3346
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
1585
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
2953
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
1692
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
1538
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
5250
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
8805
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
2287
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
9689
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9550
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10495
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
10269
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...
1
10248
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10032
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...
1
7573
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
5597
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2942
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.