V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
Neverlands
V2EX  ›  Python

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

  •  
  •   Neverlands · 55 天前 · 771 次点击
    这是一个创建于 55 天前的主题,其中的信息可能已经有所发展或是发生改变。
    最近发现我 dc 账号异地登陆需要邮箱校验,登录完成后,邮箱立马就被封,怀疑是同一 ip 下连接的邮箱太多被检测,想着试试挂代理进行连接,但是 imap 没有直接支持代理连接,想问问怎么改呢
    2 条回复    2024-03-04 11:12:04 +08:00
    samun
        1
    samun  
       55 天前
    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
        2
    fghzpqm  
       54 天前
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2911 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 09:26 · PVG 17:26 · LAX 02:26 · JFK 05:26
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.