This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author milivojm
Recipients milivojm
Date 2009-06-16.08:19:52
SpamBayes Score 2.006173e-06
Marked as misclassified No
Message-id <1245140394.87.0.288539266224.issue6291@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2009-06-16 08:19:55milivojmsetrecipients: + milivojm
2009-06-16 08:19:54milivojmsetmessageid: <1245140394.87.0.288539266224.issue6291@psf.upfronthosting.co.za>
2009-06-16 08:19:53milivojmlinkissue6291 messages
2009-06-16 08:19:52milivojmcreate