Re: Python cannot use SMTP...
Josh Close <[email protected]> Wed, 1 Sep 2004 09:10:30 -0500
| Newsgroups | gmane.comp.python.sybase |
|---|---|
| Message-ID | <[email protected]> |
It looks like the email server uses a db to store it's users/hosts/domains/etc, and it can't access it "Error: Access denied for user...". This would allow for someone to send out but have errors trying to recieve to the server 'cause it can't lookup the info it needs. -Josh On Wed, 1 Sep 2004 14:56:11 +0200, JZ <[email protected]> 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@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 > > > > -- > http://mail.python.org/mailman/listinfo/python-list >