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

查看 52|回复 1
作者:Neverlands   
最近发现我 dc 账号异地登陆需要邮箱校验,登录完成后,邮箱立马就被封,怀疑是同一 ip 下连接的邮箱太多被检测,想着试试挂代理进行连接,但是 imap 没有直接支持代理连接,想问问怎么改呢

邮箱, IMAP, 连接, 代理

samun   
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.
您需要登录后才可以回帖 登录 | 立即注册

返回顶部