gmail_module.py 文件源码

python
阅读 17 收藏 0 点赞 0 评论 0

项目:stephanie-va 作者: SlapBot 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号