Can't Get Email Interface Working

Eric Price soyouthinkimgonnalikethis at
Sat Apr 7 19:23:06 CEST 2007

>From: "Tim Williams" <tim at>
>To: "Eric Price" <soyouthinkimgonnalikethis at>
>CC: hlubenow2 at, python-list at
>Subject: Re: Can't Get Email Interface Working
>Date: Sat, 7 Apr 2007 17:53:28 +0100
>On 07/04/07, Eric Price <soyouthinkimgonnalikethis at> wrote:
>>Good grief! And they call a 722-line program "simple"?! LOL!
>>I did what I need to do with a __one_line_shell_script__ LOL!
>>Naw, if I have to go through all that, I'll skip on python this time 
>>thank you very much!
>Yup, its not so simple
>Your problem is :
>File "/usr/local/lib/python2.4/", line 130, in choose_boundary
>   hostid = socket.gethostbyname(socket.gethostname())
>socket.gaierror: (8, 'hostname nor servname provided, or not known')
>What do you get if you do the following in your interpreter?
>>>>import socket

>>>import socket
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
socket.gaierror: (8, 'hostname nor servname provided, or not known')

Obviously, I substituted "" above; however, the host that comes 
back no longer exists, so it may as well be ""! And the server # 
is courtesy of the server farm. In fact, the whole thing is. What do?

Can’t afford to quit your job? – Earn your AS, BS, or MS degree online in 1 

More information about the Python-list mailing list