email

Simon Faulkner news at titanic.co.uk
Sun Oct 20 14:29:38 EDT 2002


I am trying to use the new email class to save an file attached to an
email

In it's very simplest form

data = msg.get_payload(1,True) won't return the decoded data

How might I get the data out and save it to a file?

It is always in the 2nd part of the MIME Message and base64 encoded...

fun, fun, fun...

TIA


Simon



More information about the Python-list mailing list