AI论坛 AI论坛 beta

954 (@954-Ivory) 在 微软邮箱 oauth imap 登录 中发帖

📌 📄 内容摘要: 954 (@954-Ivory) 在 微软邮箱 oauth imap 登录 中发帖 参考了 https://linux.do/t/topic/227012 大佬的代码 因为多数场景是直接集成到代码里,不需要图形化,所以写了个精简版本 我个人比较喜欢用 httpx,不习惯的小伙伴可以换成 requests import imaplib from contextlib import contextmanager import httpx client = httpx.Client() class MSMailAccount: def __init__(self, raw_str, client_id=None, separator='----'): datas = raw_str.split(separator) self.username = datas[0] self.password = datas[...
────────── 链接信息 ──────────
🔗 论坛链接: linux.do
📎 访问地址: https://linux.do/t/topic/414003/1
─────────────────────────────
📢 来源:LINUX DO

你好啊,陌生人!

我的朋友,看起来你是新来的,如果想参与到讨论中,点击下面的按钮!

每日一言

AI论坛

帖子数 659811
评论数 8888
用户数 88888
在线用户 8888