Message90723
------ SYSTEM INFORMATION -----
module: smtplib
system: linux
python3.0 -V
Python 3.0.1+
----- TEST CASE PYTHON SOURCE -----
import smtplib
smtp = smtplib.SMTP()
smtp.connect('mail.myserver.org')
smtp.login('myusername', 'mypassword')
----- TEST CASE EXECUTION RESULTS -----
python3.0 testcase.py
Traceback (most recent call last):
File "testcase.py", line 4, in <module>
smtp.login('myusername', 'mypassword')
File "/home/kevin/Projects/ftpwatch/smtplib.py", line 580, in login
AUTH_PLAIN + " " + encode_plain(user, password))
File "/home/kevin/Projects/ftpwatch/smtplib.py", line 545, in encode_plain
return encode_base64("\0%s\0%s" % (user, password))
File "/usr/lib/python3.0/email/base64mime.py", line 96, in body_encode
enc = b2a_base64(s[i:i + max_unencoded]).decode("ascii")
TypeError: b2a_base64() argument 1 must be bytes or buffer, not str |
|
Date |
User |
Action |
Args |
2009-07-20 06:12:19 | kmcguire | set | recipients:
+ kmcguire |
2009-07-20 06:12:19 | kmcguire | set | messageid: <1248070339.45.0.0640518982252.issue6523@psf.upfronthosting.co.za> |
2009-07-20 06:12:17 | kmcguire | link | issue6523 messages |
2009-07-20 06:12:16 | kmcguire | create | |
|