demo: vvn's first python script! gmail IMAP integration

Veröffentlicht am: 27 Dezember 2013
auf dem Kanal: vvn
667
3

SOURCE CODE IS HERE: http://pastebin.com/zPXLgV5k

(copy and paste into a text editor and save as "whatever-you-want.py" to run it yourself!)

here's what's happening:
first attempt - using badly formatted email address
second attempt - using wrong password
third attempt - using correct login credentials

successfully authenticates and logs onto gmail IMAP server, fetches all contents from the inbox, and writes the raw data of each message to a text file and saves it in a subdirectory.

it also checks the directory for existing files, and if they exist, to skip.

once all the emails are successfully written and saved to file, it logs off the server and exits the program.

more functionality is coming. this is version 1.2!


Auf dieser Seite können Sie das Online-Video demo: vvn's first python script! gmail IMAP integration mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer vvn 27 Dezember 2013 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 667 Mal angesehen und es wurde von 3 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!