to******@gmail.com wrote:
Gerard,
I tried to run your code but my interpreter couldn't locate the
maildocument module. Is it included in Python standart library or
should I install it from other place?
Thanks,
Tomer
Sorry Tomer,
I was just suggesting you read it through as an example, didn't think
you'd be interested in the whole shebang! PopClient was part of a
half-baked project whose intent was to keep an eye on my technology-shy
parents' emails and - wait for it - *post* them any attachments that
were important!! Emails they can do, attachments not. But it was a good
learning exercise.
All the necessary files are here:
http://gflanagan.net/site/python/pagliacci/
Coming from C# I was used to 'one class - one file', but this will be
updated one of these days.
This is the particular file you want:
http://gflanagan.net/site/python/pag...lDocument.html
which requires:
http://gflanagan.net/site/python/pag...ntWrapper.html
and both these require the elementtree package which will soon be part
of the standard library, but now you can get it here:
http://effbot.org
( I also have a simple viewer based on XSLT, CherryPy and a CherryPy
filter called Picket but it's not very sophisticated.)
Hope that's enough to get you started.
Gerard