Message252501
Investigating further, the problem appears to be with the SSLFakeFile object used for SSL/TLS connections. Here is a console session showing the issue (I have redacted the host name and port number used for privacy reasons):
>>> import smtplib
>>> smtp = smtplib.SMTP(hostname, portnum)
>>> smtp.file
<_io.BufferedReader name=3>
>>> smtp.starttls()
(220, b'2.0.0 Ready to start TLS')
>>> smtp.file
<smtplib.SSLFakeFile object at 0x1cdb3d0>
>>> smtp.file.readline(1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: readline() takes exactly 1 positional argument (2 given) |
|
Date |
User |
Action |
Args |
2015-10-08 01:50:32 | pdonis | set | recipients:
+ pdonis, barry, r.david.murray, phlambotte |
2015-10-08 01:50:32 | pdonis | set | messageid: <1444269032.92.0.742645703477.issue25045@psf.upfronthosting.co.za> |
2015-10-08 01:50:32 | pdonis | link | issue25045 messages |
2015-10-08 01:50:32 | pdonis | create | |
|