REPOST: imaplib : password with accented chars in login commands

Samuel Krempp krempp at trucs.en.trop.crans.ens-cachan.fr
Fri Dec 28 13:56:27 EST 2001


when I try using "é"  as a password in the login command, the imaplib 
command raises exceptions.

import imaplib
M=imaplib.IMAP4('imap.free.fr')
M.login("toto", "blaébla")

imaplib.error: LOGIN command error: BAD ['Missing required argument to 
LOGIN']

It's quite a problem, since I wished I could use any french character 
in my passwords,
But I am not sure whether this is a bug in imaplib or a 'feature' of 
the IMAP protocol, because the documentation
http://www.python.org/doc/current/lib/imap4-objects.html
says something I don't fully understand,
about always quoting string used as password in the login command.

Is this a bug, or am I doing something wrong ?

Regards,
-- 
Sam

========= WAS CANCELLED BY =======:
Path: news.sol.net!spool1-milwwi.newsops.execpc.com!newsfeeds.sol.net!news-out.visi.com!hermes.visi.com!newspeer.monmouth.com!news-xfer.nuri.net!feeder.kornet.net!news1.kornet.net!ua4canc3ll3r
From: Samuel Krempp <krempp at trucs.en.trop.crans.ens-cachan.fr>
Newsgroups: comp.lang.python
Subject: cmsg cancel <a0if8r$pqp$1 at wanadoo.fr>
Control: cancel <a0if8r$pqp$1 at wanadoo.fr>
Date: Mon, 31 Dec 2001 05:05:12 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.a0if8r$pqp$1 at wanadoo.fr>
NNTP-Posting-Host: 211.57.49.2
X-Trace: news2.kornet.net 1009775128 27193 211.57.49.2 (31 Dec 2001 05:05:28 GMT)
X-Complaints-To: usenet at news2.kornet.net
NNTP-Posting-Date: Mon, 31 Dec 2001 05:05:28 +0000 (UTC)
X-No-Archive: yes
X-Unac4ncel: yes
X-Commentary: I love NewsAgent 1.10 and the Sandblaster Cancel Engine Build 74 (19 March 1999)

This message was cancelled from within Mozilla.



More information about the Python-list mailing list