<div><div>Ewald,<br><br> First off, thanks for stopping by. <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">>The connection via the
smtplib.SMTP() could be established. <br></blockquote><br> I dont think so. I think it fails before the login().<br><br>------------------------------------------------------<br>>>> ex=<span style="font-weight: bold;">
smtplib.SMTP('<a href="http://smtp.mail.yahoo.com">smtp.mail.yahoo.com</a>')</span><br>Traceback (most recent call last):<br> File "<stdin>", line 1, in ?<br> File "/usr/lib/python2.4/smtplib.py", line 241, in __init__
<br> (code, msg) = self.connect(host, port)<br> File "/usr/lib/python2.4/smtplib.py", line 289, in connect<br> for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):<br>socket.gaierror: (-2, 'Name or service not known')
<br><div><br>------------------------------------------------<br> >>> <span style="font-weight: bold;">socket.gethostname()</span><br>'linux'<br>---------------------------------------------<br></div><br><div>>>>
<span style="font-weight: bold;">socket.gethostbyname(socket.gethostname())</span><br>Traceback (most recent call last):<br> File "<stdin>", line 1, in ?<br>socket.gaierror: (-2, 'Name or service not known')
<br>>>><br>-------------------------------------------------- </div><br>linux:/srv/www/htdocs/konnect # <span style="font-weight: bold;">nslookup <a href="http://smtp.mail.yahoo.com">smtp.mail.yahoo.com</a></span>
<br>Server: <a href="http://203.145.184.13">203.145.184.13</a><br>Address: 203.145.184.13#53<br><br>Non-authoritative answer:<br><a href="http://smtp.mail.yahoo.com">smtp.mail.yahoo.com</a> canonical name =
<a href="http://smtp.plus.mail.yahoo.com">smtp.plus.mail.yahoo.com</a>.<br><a href="http://smtp.plus.mail.yahoo.com">smtp.plus.mail.yahoo.com</a> canonical name = <a href="http://smtp.plus.mail.yahoo4.akadns.net">smtp.plus.mail.yahoo4.akadns.net
</a>.<br>Name: <a href="http://smtp.plus.mail.yahoo4.akadns.net">smtp.plus.mail.yahoo4.akadns.net</a><br>Address: <a href="http://216.136.173.18">216.136.173.18</a><br> -----------------------------------------------------
<br><br>Thank you,<br><br>------<br></div>Intercodes<br>