Python cannot use SMTP...

Ronald Oussoren ronaldoussoren at mac.com
Wed Sep 1 15:11:31 CEST 2004


On 1-sep-04, at 14:56, JZ wrote:

> 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

This is a buggy mail server, the line starting with 'db_connect' is not 
according to spec.

If other tools work that is coincidence.

Ronald



More information about the Python-list mailing list