Python imap 怎么通过代理进行连接邮箱呢

67 天前
 Neverlands
最近发现我 dc 账号异地登陆需要邮箱校验,登录完成后,邮箱立马就被封,怀疑是同一 ip 下连接的邮箱太多被检测,想着试试挂代理进行连接,但是 imap 没有直接支持代理连接,想问问怎么改呢
789 次点击
所在节点    Python
2 条回复
samun
67 天前
mail.imap.proxy.host string Specifies the host name of an HTTP web proxy server that will be used for connections to the mail server.
mail.imap.proxy.port string Specifies the port number for the HTTP web proxy server. Defaults to port 80.

mail.imap.socks.host string Specifies the host name of a SOCKS5 proxy server that will be used for connections to the mail server.
mail.imap.socks.port string Specifies the port number for the SOCKS5 proxy server. This should only need to be used if the proxy server is not using the standard port number of 1080.
fghzpqm
66 天前

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1020073

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX