[issue11281] smtplib: add ability to bind to specific source IP address/port
Giampaolo Rodola'
report at bugs.python.org
Tue Feb 22 17:17:33 CET 2011
Giampaolo Rodola' <g.rodola at gmail.com> added the comment:
> I would like to add source_ip and source_port parameters to
> smtplib.SMTP, default to '' and 0 respectively.
It would be better to provide a unique source_address parameter defaulting to None, for consistency with socket.create_connection() expecting a (addr, port) tuple.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11281>
_______________________________________
More information about the Python-bugs-list
mailing list