I have set up my mail function as so:
----CODE------------
$msg = "E-MAIL SENT FROM MY WEBSITE\n";
$msg .= "Sender's Name: $name\n";
$msg .= "Sender's E-Mail: $address\n";
$msg .= "Message: $message\n\n";
$to ="my_email@email.com";
$mailheaders ="From: My Website\n";
mail($to, $subject, $msg, £mailheaders);
----CODE---------------
But the headers not working, the mail I get says it is from "nobody@email.com" and the message is:
£mailheaders
E-MAIL SENT FROM MY WEBSITE
Sender's Name: rosanna
Sender's E-Mail: blah@blah.ac.uk
Message:
This is a message
I appreciate any help that you can give me.
Thank you