Decoding MIME email.
Thomas Williams
tom_williams_2000_ca at yahoo.ca
Mon Aug 25 13:50:38 EDT 2003
Hello everyone, my name is Tom W. And, I am new to the
list, and have been using Python for about a year now.
Anyway, I got a question! I am trying to decode MIME
(base64) email from a POP3 server, but all I get is a
corrupt file. I know that it good to begin with
because I check it with another email client.
This is what I am doing!
.....
f=open("msg.txt","wb")
f.write(filelne)
f.close()
mimify.unmimify("msg.txt", "msg.jpg",
decode_base64=1)
........
Is this right?
Tom W
More information about the Python-list
mailing list