I'm sending myself a text message using PHP mail() and it says FRM: [email protected]. I'm using [email protected] to send the text message. How can I change that?
views:
21answers:
1
A:
You can add additional headers to the mail function, including from:
$headers = "From: [email protected]\n";
mail($to, $subject, $body, $headers);
webbiedave
2010-06-04 22:46:11