This commit is contained in:
2018-05-04 21:26:27 +02:00
parent 4b23d4d7fc
commit 6f158cdfee

View File

@@ -3,7 +3,6 @@
# Very basic example of using Python and IMAP to iterate over emails in a # Very basic example of using Python and IMAP to iterate over emails in a
# gmail folder/label. This code is released into the public domain. # gmail folder/label. This code is released into the public domain.
# #
# RKI July 2013
# http://www.voidynullness.net/blog/2013/07/25/gmail-email-with-python-via-imap/ # http://www.voidynullness.net/blog/2013/07/25/gmail-email-with-python-via-imap/
# #
import sys import sys
@@ -19,7 +18,7 @@ EMAIL_FOLDER = "Top Secret/PRISM Documents"
def process_mailbox(M): def process_mailbox(M):
""" """
Do something with emails messages in the folder. Do something with emails messages in the folder.
For the sake of this example, print some headers. For the sake of this example, print some headers.
""" """