[Tutor] I am trying to read and decode an emails PDF attachment via python,
dave6502 at gmail.com
Sat Aug 20 11:58:38 CEST 2011
I am trying to read and decode an emails PDF attachment via python,
its a dedicated mailbox, anything emailed there is to be read by the
script, deleted from the mailbox and processed.
def get_next_mail() works AOK, I get a nice long string containing the
next email and PDF data block but when I execute
I get False ???
And when I execute
I get nothing
Any ideas anyone, at a guess its because my string is not formatted
correctly, can anyone advise ?
Please avoid sending me Word or PowerPoint attachments.
More information about the Tutor