Dave Logan:
Eugene, I had to add a format to the strftime() to make it work.

What concrete changes did you do?

Other than that and the changes for mysql, it seems to work more
or less as expected on the few mailboxes I've tested.

I can't test my utility with mysql because I haven't it. Can you add command line switch to database type? Or just send you changes to me?

What would be ultra cool is if you (or somebody) would write the
code to detach attachments as well (and not include their encoded
data in the output), since I'm not a python coder
at all :)

I'm not a python coder too :) And I'm glad to see any corrections in my code.

You can extract attachments with email.Parser. See http://wingware.com/psupport/python-manual/2.4/lib/node576.html and http://wingware.com/psupport/python-manual/2.4/lib/module-email.Message.html

In fact, I was just the other day thinking about a utility of this
form, I may try my hand at mod'ing it to put each message in it's
own file or such.  Or maybe not.
/me reaches for the shiny, barely opened python book
thanks,
dave



--
Thanks,
Eugene Prokopiev

Reply via email to