Whenever I use the mail() function to send e-mail, it shows the sender as:
Nobody <[email protected]> on behalf of John Miller <[email protected]>
That's using a From: header.
This is for a mailing list program so I can't have it being sent as nobody!
Nobody <[email protected]> on behalf of John Miller <[email protected]>
That's using a From: header.
Code:
$from = "John Miller <[email protected]>"; mail($email,$subject,$message,"From: $from\n");
Comment