Hi. I'm extremely new to PHP (only been reading about it for the past two days) and I found a nice script for a form mailer. The problem with the script is that it communicated directly with sendmail to send the email from the form. I'm not sure that my server uses sendmail to send out email, so I decided I'd try the mail() function. Unfortunately PHP wouldn't accept my code, the full code and error messages can be cound at http://www.trifocus.net/~hamled/problems.php
I'm sure that this problem would be easy for a more experienced PHP coder to fix, but I've only read a few short tutorials, and can't find anything wrong. I've tried server different combinations such as taking out the \n's I originally had, which resulted in one of the errors dissappearing, but there is still one error left to fix.
My thanks in advance for helping with this simple problem.