can someone please tell me why this code wont work. It is so that i can post an email from a HTML form. <?php $emailbody="new recruit: \n\n email: $emailaddy\n alias: $alias\n icq#: $icq\n Comments: $comments \n\n"; mail( "joinus@eliteforceteam.f2s.com", "Somebody Wants To Join!", $emailbody, Reply-To: $emailaddy ); ?>
Maybe it will help a little if you put \"\" around your mail headers...
\"Reply-To: $emailaddy\" instead of.. Reply-To: $emailaddy
hm?
Actually you want to use:
"Reply-To: $emailaddy" instead of.. Reply-To: $emailaddy
The escaping isn't necessary.
Jack