I know that this is likely outside of your scope, but you should retire this CGI script as soon as possible. It contains a flaw that makes it trivially easy to send spam via your mail address to any address, because you do not check that your input parameters are well-formed. Especially, no parameter should be allowed to contain a newline (\n) character.
As for your error tracking, try looking into the sendmail logfiles wherever they are, and make sure that sending mail works from the command line before trying to use it from within the webserver. You can also print out the mail into a text file and later manually pipe the text file into sendmail to see the error messages.
You can of course also look at what the NMS Formmail Script has to offer.
In reply to Re: contact form not mailing (urgent!)
by Corion
in thread contact form not mailing (urgent!)
by coldfingertips
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |