Question

On a host with multiple network interfaces, is it possible to bind the connect method from the Python smtplib to an specific source address?

Was it helpful?

Solution

No such option - at least not without hacking smtplib.connect() yourself.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top