Help with SMTP

Oleg Broytmann phd at
Thu Nov 25 12:17:28 CET 1999

On Wed, 24 Nov 1999, Glenn Kidd wrote:
> everyhting looks in order but the website reports a "500 Internal Server
> Error".  When I look at the server log I get the following description of
> the error:
> [Wed Nov 24 13:23:30 1999] [error] [client] Premature end of
> script headers: /home/httpd/cgi-bin/

   Your script must return something to the server - either text or

print "Content-Type: text/html"
print "<HTML>...and all HTML stuff...<BODY>The message was successfully sent</BODY></HTML>"

    Oleg Broytmann      Foundation for Effective Policies      phd at
           Programmers don't die, they just GOSUB without RETURN.

More information about the Python-list mailing list