tags:

views:

21

answers:

1

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?

A: 

You can add additional headers to the mail function, including from:

$headers  = "From: [email protected]\n";
mail($to, $subject, $body, $headers);
webbiedave