Help with SMTP
phd at phd.russ.ru
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 220.127.116.11] Premature end of
> script headers: /home/httpd/cgi-bin/mail.py
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 phd.russ.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-list