saving an e-mail attachement
aspersieman at gmail.com
Fri Aug 1 10:08:24 CEST 2008
robinsiebler at 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:
> fn is always None, but the e-mail -does- have an attachment (an xml
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.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2351 bytes
Desc: not available
More information about the Python-list