New submission from Milivoj Milani <miliv...@gzr.hr>: When trying to send an e-mail using a tutorial like example, I get the following message:
Traceback (most recent call last): File "test.py", line 3, in <module> server.login("domena\someuser","somepassword") File "C:\Python\lib\smtplib.py", line 583, in login "%s %s" % (AUTH_LOGIN, encode_base64(user))) File "C:\Python\lib\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 ---------- components: Library (Lib) files: test.py messages: 89428 nosy: milivojm severity: normal status: open title: TypeError: b2a_base64() argument 1 must be bytes or buffer, not str during SMTP.login type: behavior versions: Python 3.0 Added file: http://bugs.python.org/file14307/test.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6291> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com