def do_init(self):
try:
self.conn = imaplib.IMAP4_SSL('imap.gmail.com')
self.conn.debug = 0
self.conn.login(self.gmail_address, self.password)
except:
response = ("Either your credentials are wrong mate, or there is some problem going on, do me a favor, I know "
"you won't but whatever, just inform me in the forums.")
print(response)
return response
评论列表
文章目录