Here's my code for sending some mail
<?PHP
mail("$adminaddress","You got a query",
"$memName [member $memNum] on $date asked:
$myMessage
--------------------------------------------------","From: $memName\nReply-to: $memEmail");
?>
BUT if $memName = tubs, when the mail has arrived the sender has changed to 'tubs@brum.flimble.net' - where brum is the virtual domain on the server and flimble.net IS the server.
No matter what I do I cannot stop '@.flimble.net' from being added to the 'From: ' value.
The reply to bit works fine, and I've tried adding \r , but it makes no difference.
What's going on here?
thanks
Ian