> To help debug this, you may want to try the following.
>
> 1) Copy smptlib.py into your local directory. On my
> box, you can find it here, or import sys; print
> sys.path to help find it on your box:
>
>/usr/local/lib/python2.3
>
> 2) Go the login() method, add some print statements
> there
--- Ramashish Baranwal <[EMAIL PROTECTED]>
wrote:
> > Are you sure that your SMTP server uses this type
> of authentication?
> > Some SMTP servers use POP3 followed by SMTP to
> authenticate instead.
> >
> > use telnet to verify, this link might help.
> >
> >
>
http://www.computerperformance.co.
er.login('username', 'password')
> > Traceback (most recent call last):
> > File "", line 1, in ?
> > File "/usr/lib/python2.4/smtplib.py", line 587, in login
> > raise SMTPAuthenticationError(code, resp)
> > smtplib.SMTP
t; server.login('username', 'password')
> Traceback (most recent call last):
> File "", line 1, in ?
> File "/usr/lib/python2.4/smtplib.py", line 587, in login
> raise SMTPAuthenticationError(code, resp)
> smtplib.SMTPAuthenticationE
ceback (most recent call last):
File "", line 1, in ?
File "/usr/lib/python2.4/smtplib.py", line 587, in login
raise SMTPAuthenticationError(code, resp)
smtplib.SMTPAuthenticationError: (535, 'authorization failed
(#5.7.0)')
I am sure that I am giving the corr