I think you are referring to the header within the mail function.
You can change the from to be anything you like. For example you could take the person's email:
Code:
$email = $_POST['email'];
and then add this to the header, which also specifies whether the email will be in HTML or text format.
The mail function is made up of 5 parameters, 2 of them being optional.
These are "to, subject, message, headers, parameters".
You only need the first 4 to get what you want.
So you can construct your message like this:
Code:
$to = "yourmail@mail.com";
$subject = "Subject here"; /* You could make this dynamic by allowing the user to enter it through an input box*/
$message = "Hello, this is my message";
$header = "From: Their Name <" . $email . ">";
// And then to send it
mail($to, $subject, $message, $header);
Hope this clears it up for you.
You can have any email address by changing the header really.
But it must always be in the format: "From: Jack <jack@mail.com>";
Good luck!
Bookmarks