Python cannot use SMTP...

JZ cy.fbp.eryvtvne at ncbybtrglxn.pbz
Wed Sep 1 14:56:11 CEST 2004


Wed, 01 Sep 2004 08:33:51 -0400, na comp.lang.python, Peter Hansen
napisał(a):

> The first three characters are the critical part.  If they aren't
> a three-digit SMTP response code, your server is likely borken.
> If you post the results, someone might have some advice, but it's
> not likely this is a Python issue.

via telnet localhost 25:
...
Connected to localhost.
Escape character is '^]'.
db_connect: failed to connect to database: Error: Access denied for user:
'admin at localhost' (Using password: YES)
220 NS1.4U2.PL ESMTP

Strange, because I can send emails from bash using mail command. I can send
email with php scripts as well (using mail() function). php.ini file has
empty settings for SMTP, so it uses default system settings... 

--
JZ




More information about the Python-list mailing list