I am trying to fetch email from gmail, but what I am really interested is the attachment. I manage to access the gmail server and get the messege but the attachment came as text:
"------=_Part_5286_15861975.1197955173158 Content-Type: audio/mpeg; name="Dire Straits - 12 - Calling Elvis.mp3" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fabzd5l20 Content-Disposition: attachment; filename="Dire Straits - 12 - Calling Elvis.mp3" // ugbAAP8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA..." how do i manage to get the file? I google for a while now, but I am a bit lost of ideas. Sorry for the noobish and the english. thanks =D -- http://mail.python.org/mailman/listinfo/python-list