Re: [Tutor] smtplib with yahoo smtp server

2006-02-01 Thread Python
On Wed, 2006-02-01 at 18:51 +0530, Intercodes wrote: > Received: by wproxy.gmail.com with SMTP id i23so141320wra for > ; Wed, 01 Feb 2006 05:21:36 -0800 (PST) > Received: by 10.65.228.15 with SMTP id f15mr63752qbr; Wed, 01 Feb 2006 > 05:21:36 -0800 (PST) > Received: by 10.65.100.11

Re: [Tutor] smtplib with yahoo smtp server

2006-02-01 Thread Intercodes
Ewald,>Here, I think is a strange problem. You can not resolve your own hostname. >Is there no entry in /etc/hosts for linux with the IP-Address of your server?>If not, try to insert such an entry.  Thanks for all your suggestions. I inserted my IP address for 'linux' into /etc/hosts. Now smtplib.S

Re: [Tutor] smtplib with yahoo smtp server

2006-02-01 Thread Ewald Ertl
Hi! Intercodes wrote: > > My nssswitch.conf > -- > passwd: compat > group: compat > > hosts: files dns > networks: files dns > > services: files > protocols: files > rpc:files > ethers: files > netmasks: files

Re: [Tutor] smtplib with yahoo smtp server

2006-02-01 Thread Intercodes
Ewald,  > -- ex= smtplib.SMTP('smtp.mail.yahoo.com ')> Traceback (most recent call last):>   File "", line 1, in ?>   File "/usr/lib/python2.4/smtplib.py", line 241, in __init__> (code, msg) = self.connect (hos

Re: [Tutor] smtplib with yahoo smtp server

2006-02-01 Thread Ewald Ertl
Hi! Intercodes wrote: > Ewald, > > First off, thanks for stopping by. > > >The connection via the smtplib.SMTP() could be established. > > > I dont think so. I think it fails before the login(). > > -- ex= smtplib.SMTP('smtp.mai

Re: [Tutor] smtplib with yahoo smtp server

2006-02-01 Thread Intercodes
Ewald, First off, thanks for stopping by. >The connection via the smtplib.SMTP() could be established.  I dont think so. I think it fails before the login().-->>> ex= smtplib.SMTP('smtp.mail.yahoo.com')Traceback (most recent call last):  File "",

Re: [Tutor] smtplib with yahoo smtp server

2006-02-01 Thread Ewald Ertl
Hi! I made a copy of the source you posted. I just got a problem as expected when doing the session.login() because the access-data is invalid. The connection via the smtplib.SMTP() could be established. Perhaps there is something wrong with your namelookup. Can you try a call in the interactive

[Tutor] smtplib with yahoo smtp server

2006-01-31 Thread Intercodes
Hello everyone,I am working with a registration system for my website in mod_python. I needed to send mail to registered users for confirmation. Since I can't use my ISP's smtp server, I used yahoo's smtp server and my yahoo username and password  to connect and send mail using this script (see bel