Mail attachments

Ralf Hildebrandt hildeb at www.stahl.bau.tu-bs.de
Mon Feb 28 06:29:47 EST 2000


On Mon, 28 Feb 2000 10:15:24 +0000 (GMT), Oleg Broytmann <phd at phd.russ.ru> wrote:

>> I am trying to figure out how to read and interpret email attachments. I
>> looked into mimetools.py and mimify.py, but don't really understand how they
>> work. Say I have a message with multiple files attached, can I use some
>> library function to determine where the attachments start and end, and/or to
>> extract those parts? Or do I have to look for certain tags myself?

I have a similar problem: I want to create an email with an attachment.
Right now I simply invoke "mpack", which also takes care of sending the
message, but I'd rather be independend...
How can I implement that in native Python?



More information about the Python-list mailing list