469,282 Members | 1,977 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,282 developers. It's quick & easy.

saving an e-mail attachement

I'm trying to figure out how to save an e-mail attachment from a POP3
mailbox. I've scoured the web, but -none- of the examples I have
found have actually worked. For instance, in this example:
http://groups.google.com/group/comp....8922943a164ccf,
fn is always None, but the e-mail -does- have an attachment (an xml
file).

Jul 31 '08 #1
1 966
ro**********@gmail.com wrote:
I'm trying to figure out how to save an e-mail attachment from a POP3
mailbox. I've scoured the web, but -none- of the examples I have
found have actually worked. For instance, in this example:
http://groups.google.com/group/comp....8922943a164ccf,
fn is always None, but the e-mail -does- have an attachment (an xml
file).

--
http://mail.python.org/mailman/listinfo/python-list

Try attached (caution *not* tested, I just cut and pasted it from a
larger script I use (it should work :) ).

I have used a similar method quite successfully.

HTH

Regards

Nicolaas

--

The three things to remember about Llamas:
1) They are harmless
2) They are deadly
3) They are made of lava, and thus nice to cuddle.

Aug 1 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by G-Factor | last post: by
1 post views Thread by Mahesh Devjibhai Dhola [MVP] | last post: by
2 posts views Thread by manning_news | last post: by
14 posts views Thread by Amitabh Deepak | last post: by
2 posts views Thread by =?Utf-8?B?bWFydGluMQ==?= | last post: by
27 posts views Thread by RobG | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.