A
Andre
Hi guys, newbie question. I am having trouble with a script that is
supposed to login me to my account on yahoo pop server. When i do this:
import getpass, poplib, re
POPHOST = "pop.mail.yahoo.com"
POPUSER = "mylogin"
POPPASS = "mypass"
pop = poplib.POP3(POPHOST)
pop.user(POPUSER)
up to this point evertything proceeds fine, but when i do
if not POPPASS:
POPPASS = getpass.getpass("Password for %s@%s:" % (POPUSER, POPHOST))
pop.pass_(POPPASS)
I am being asked for password and after giving it getting
the following error:
POP3 Protocol Error: -ERR Error logging in. Please visit
http://mail.yahoo.com
Would appreciate any help or comments -- its my first day with Python
.
What am i doing wrong?
supposed to login me to my account on yahoo pop server. When i do this:
import getpass, poplib, re
POPHOST = "pop.mail.yahoo.com"
POPUSER = "mylogin"
POPPASS = "mypass"
pop = poplib.POP3(POPHOST)
pop.user(POPUSER)
up to this point evertything proceeds fine, but when i do
if not POPPASS:
POPPASS = getpass.getpass("Password for %s@%s:" % (POPUSER, POPHOST))
pop.pass_(POPPASS)
I am being asked for password and after giving it getting
the following error:
POP3 Protocol Error: -ERR Error logging in. Please visit
http://mail.yahoo.com
Would appreciate any help or comments -- its my first day with Python
What am i doing wrong?