I'm using the following:
<?mail( "dave@rjscollects.com", "Feedback Form Results", $_POST['message'], "From: $_POST['email']" ); header( "Location: <a href="http://www.rjscollects.com/thankyou.html" target="_blank">[url]http://www.rjscollects.com/thankyou.html[/url]</a>" );?>
with a very simple html form and recieve the following:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in c:\apache\htdocs\sendmail.php on line 2
I followed Tek's advice, but I've still got something wrong. register_globals is Off. I run an Argosoft email server program so I set STMP to simply point to our domain at [url]http://www.rjscollects.com...but[/url] I don't think that's an issue here.
Anyway...I'm about to jump off a bridge or something with this...would appreciate any advice.