Authenticating a login on the Intranet

Bob Kummerfeld bob at staff.cs.usyd.edu.au
Tue Sep 12 22:04:21 EDT 2000


I use IMAP:

import imaplib

p = imaplib.IMAP4('localhost')
try:
	p.login(username, password)
	p.logout()
except:
	# bad password
# user/password ok

Bob


-- 




More information about the Python-list mailing list