Python cannot use SMTP...

JZ cy.fbp.eryvtvne at ncbybtrglxn.pbz
Wed Sep 1 13:54:16 CEST 2004

I cannot find out what is the problem with my Python. I cannot join to smtp

> python
Python 2.3.4 (#1, Jun 22 2004, 04:42:42)
[GCC 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import smtplib
>>> smtplib.SMTP('localhost')
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.3/", line 242, in __init__
    raise SMTPConnectError(code, msg)
smtplib.SMTPConnectError: (-1, "onnect: failed to connect to database:
Error: Access denied for user: 'admin at localhost' (Using password: YES)")

The same problem appears in Plone 2.0.4. I cannot send any emails because
of it and I do not know how to sove it. 

I checked PHP scripts on the same linux box, but it works fine. Only Python
has the problem...


More information about the Python-list mailing list