【发布时间】:2011-07-06 05:33:07
【问题描述】:
我想设置 SMTP 中继服务器,它也需要使用 HTTP 代理。我正在使用 Python。
SMTP 代理:
import smtpd
import asyncore
smtpd.PureProxy(('local host name', 1234), ('smtp server name', 25))
asyncore.loop()
问题是我需要使用 HTTP 代理才能连接到 SMTP 服务器。
如何指定?
【问题讨论】:
标签: python proxy smtp http-proxy