[issue5259] smtplib is broken in Python3

2009-05-28 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: LOGIN and CRAM-MD5 login are fixed in r72990 (3.1) and r72991 (3.0). -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5259

[issue5259] smtplib is broken in Python3

2009-05-28 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- stage: test needed - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5259 ___

[issue5259] smtplib is broken in Python3

2009-05-24 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Committed the simple auth tests and fix in r72868 in py3k and r72877 in 3.0. Also added the test to trunk in r72878 to keep the test source in sync, and to 26maint similarly in r72886. Now we need tests for the other auth cases.

[issue5259] smtplib is broken in Python3

2009-05-23 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: Removed file: http://bugs.python.org/file13774/test-smtplib.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5259 ___

[issue5259] smtplib is broken in Python3

2009-05-23 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: 5304 and 3921 are fixed. Is there still an issue here? If so, I think we need a test case we can add to the test suite. It can be a patch against the new test_smtpnet.py test. -- nosy: +r.david.murray

[issue5259] smtplib is broken in Python3

2009-05-23 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Looks like I accidentally deleted the file I was asking for. Not sure how that happened, but I'm reattaching it. -- Added file: http://bugs.python.org/file14043/test-smtplib.diff ___ Python

[issue5259] smtplib is broken in Python3

2009-05-23 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- assignee: - r.david.murray stage: test needed - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5259 ___

[issue5259] smtplib is broken in Python3

2009-05-23 Thread José Luis Cáceres
José Luis Cáceres j...@telefonica.net added the comment: There is a similar problem that I found with encode_cram_md5 in smtplib.py, SMTP.login() method. I used the solution proposed by miwa, both for PLAIN and CRAM MD5 authentication. Additionally, for the last one, I had to introduce a

[issue5259] smtplib is broken in Python3

2009-04-25 Thread Marcin Bachry
Marcin Bachry hegel...@gmail.com added the comment: I add simple smtp auth unit test to exercise this bug. -- keywords: +patch nosy: +marcin.bachry Added file: http://bugs.python.org/file13774/test-smtplib.diff ___ Python tracker

[issue5259] smtplib is broken in Python3

2009-04-25 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Martin: see a test script in issue 3921. -- nosy: +ajaksu2 priority: normal - critical Added file: http://bugs.python.org/file13783/smtplib_eol.diff ___ Python tracker rep...@bugs.python.org

[issue5259] smtplib is broken in Python3

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- dependencies: +email/base64mime.py cannot work, smtplib cannot sendmail over TLS keywords: +easy priority: - normal stage: - test needed type: crash - behavior ___ Python tracker rep...@bugs.python.org

[issue5259] smtplib is broken in Python3

2009-02-18 Thread bill
bill toastedro...@gmail.com added the comment: sorry, pressed the wrong button. that solution does work. didn't find this until #python helped me get: return encode_base64( (\0%s\0%s % (user, password) ).encode('ascii') ) -- nosy: +toastedrobot title: gmail smtp - smtplib is broken in

[issue5259] smtplib is broken in Python3

2009-02-14 Thread Musashi Tamura
New submission from Musashi Tamura yuri.musashi.miwa.tam...@gmail.com: Issue #3921 may be the same problem. Sending Gmail by smtplib fails on Python 3.0 and 3.0.1. It seems to be exist two problems in encode_plain function in smtplib.py: * parameter of encode_base64 must be bytes, not str,

[issue5259] smtplib is broken in Python3

2009-02-14 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Can you show us the failing application? Most likely, the bug is in your code, not in Python. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5259

[issue5259] smtplib is broken in Python3

2009-02-14 Thread kalevi
kalevi kalevio...@gmail.com added the comment: The attached test script works fine in Python 2.6. Replace the following texts in the script: f...@gmail.com t...@gmail.com password -- nosy: +kalevi Added file: http://bugs.python.org/file13088/smtptest.py

[issue5259] smtplib is broken in Python3

2009-02-14 Thread Musashi Tamura
Musashi Tamura yuri.musashi.miwa.tam...@gmail.com added the comment: The attachment is output of smtptest.py on Python 3.0. Added file: http://bugs.python.org/file13092/3.0.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5259