$to = "tony@onlyfinebeer.co.uk";
$subject = "A search was made on Onlyfinebeer - there were no results\n\n".$searcherAddress;
$from = "From: ".$searcherAddress;
mail($to, $subject, $message, $from);
I have this in my script but everytime i use it it still puts the default address in the from field - but it writes the from in the body of the mail like so:
This is causing problems as the admin person then tries to 'reply' and it goes to the server admin... 🙁
Any help appreciated, I looked at the manual and i cannot see the problem.
Cheers,
Rebajas