Re: imaplib & Received: header(s)???

2007-08-20 Thread Petri Savolainen
Donn Cave wrote: > | I need to get at the Received-for header to figure out at which address > | we received an email. We subscribe to a number of mailing lists using > | per-mailing-list addresses, and often, To: field contains something else > | than our address, thus the need for Received-fo

imaplib & Received: header(s)???

2007-08-19 Thread Petri Savolainen
Hello, Is there a way to get at the "Received" header(s) or is there something in imaplib or imap server implementations that hides these? If not, what IMAP FETCH command should be used? I've used for example "BODY[HEADER.FIELDS (RECEIVED)]" and it always returns empty ("\r\n"). Despite the Re

[ANN] win32 binaries for zope.interface 3.3.0

2007-01-09 Thread Petri Savolainen
Both eggs and installers (exe) are available for Python 2.4 & 2.5 from: http://www.zope.org/Members/saffe/zope_interface/folder_contents Compiled on winxp pro using mingw32 "current". Cheers, Petri -- http://mail.python.org/mailman/listinfo/python-list

Re: Python TNEF (winmail.dat attachment access) library?

2005-10-04 Thread Petri Savolainen
lso 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 Pe

Python TNEF (winmail.dat attachment access) library?

2005-10-03 Thread Petri Savolainen
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 an