Python cannot use SMTP...

Thomas Krüger thomas.krueger at gmx.net
Wed Sep 1 15:45:55 CEST 2004


JZ wrote:
> smtplib.SMTPConnectError: (-1, "onnect: failed to connect to database:
> Error: Access denied for user: 'admin at localhost' (Using password: YES)")

That a MySQL error. I don't kwon how you made this error apear in your STMP
connection, I can only guess:
Does your STMP server any MySQL authentication?
Are you running MySQL on port 25?

Maybe the right of your mail log and a the result of
"netstat -nlp -A inet"
would help us to find the problem.

Thomas



More information about the Python-list mailing list