Josiah Carlson wrote:
> Checking the source for smtplib.py, you must pass a port to
> smtplib.SMTP() if you pass a host, as it defaults to 0.
If you read just a tad farther, you'll see the line
if not port: port = SMTP_PORT
where SMTP_PORT is of course 25...
-Peter