mail() function and From line
Hey got this problem ,
I have something like this:
$from = "email@example.com";
mail($to, $subject, $message)
The mail sends fine yet when I look at the from line it always gives the from address from what ever my dns is. I know its a setting in my php.ini and I have a ticket into my hosting yet.
When I ran some code that I got from the php5,apache,mysql books that has almost the same code I can change the from line into anything I want.
So what am I doing wrong ? or some other insite would be great thanks for any help.