REPOST: imaplib : password with accented chars in login commands

Samuel Krempp krempp at
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.login("toto", "blaébla")

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

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
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 ?


========= WAS CANCELLED BY =======:
From: Samuel Krempp <krempp at>
Newsgroups: comp.lang.python
Subject: cmsg cancel <a0if8r$pqp$1 at>
Control: cancel <a0if8r$pqp$1 at>
Date: Mon, 31 Dec 2001 05:05:12 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.a0if8r$pqp$1 at>
X-Trace: 1009775128 27193 (31 Dec 2001 05:05:28 GMT)
X-Complaints-To: usenet at
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