Message134478
The SMTP_SSL doc says “If port is omitted, the standard SMTP-over-SSL port (465) is used”, but actually port 25 is used by default. The fix is trivial: make "default_port" a class attribute (in both SMTP and SMTP_SSL) instead of setting it inside the constructor.
test_smtpnet uses an explicit port to connect to gmail, which is why it doesn't exhibit the issue.
(Kasun, I'm adding you since you might be interested. Sorry if it isn't the case) |
|
Date |
User |
Action |
Args |
2011-04-26 16:48:22 | pitrou | set | recipients:
+ pitrou, kasun |
2011-04-26 16:48:21 | pitrou | set | messageid: <1303836501.95.0.366662026013.issue11927@psf.upfronthosting.co.za> |
2011-04-26 16:48:19 | pitrou | link | issue11927 messages |
2011-04-26 16:48:19 | pitrou | create | |
|