Ewald,<br><br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>>Here, I think is a strange problem. You can not resolve your own hostname.
<br>>Is there no entry in /etc/hosts for linux with the IP-Address of your server?<br>>If not, try to insert such an entry. <br></blockquote>
</div><br>Thanks for all your suggestions. I inserted my IP address for 'linux' into /etc/hosts. Now smtplib.SMTP() works. But the authentication fails. I tried all combinations of user/pass , but no joy.<br><br>I tried using gmail (
<a href="http://smtp.gmail.com">smtp.gmail.com</a>), but it too shows some TLS error or something.<br><br>I ve searched google , but every script that is available for smtplib uses either sendmail or use their own/isp smtp server. None for connecting to yahoo/gmail/hotmail or other servers using authentication.
<br><br>But anyway, ill try hotmail next. (If I can't get this smtp to work, I have to manually send mails to users :p, disastrous. ) Thanks for your time.<br><br><br>-- <br>Intercodes<br>