I assume that I need the following Python code:

subject_line=???
from email.header import decode_header
decode_header(subject_line)

Note that I am wanting to read an mbox file or access the imap server
locally.  The ??? is the subject line utf-8 encoded... so what do I
need there?

     -- Michael C. Robinson

_______________________________________________
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to