You could use something like this:
mail($to, $subject, $message, $headers);
where $header is a "\r\
" separated list of string segments such as: "From: firstname.lastname@example.org \r\
Reply-To: email@example.com \r\
Do keep in mind that mail() requires that you actually have host permission for this.. so testing in a local PHP install environment is not a good idea.