Index: poplib.py =================================================================== --- poplib.py (revision 74276) +++ poplib.py (working copy) @@ -282,7 +282,7 @@ NB: mailbox is locked by server from here to 'quit()' """ - secret = bytes(secret, self.encoding) + secret = bytes(password, self.encoding) m = self.timestamp.match(self.welcome) if not m: raise error_proto('-ERR APOP not supported by server')