Im tring to do an script to send an email to some clients.. its a simple script that goes like this:
$email = "email@somedomian.com"
$mensaje = "nothing nothing..";
if (mail("$email, info@somedomain.com", "HELLO!!", $mensaje, "From: \"SOME NAME\" <"info@somedomain.com">\r\n" . phpversion())) {
echo "Email sent to <b>$email</b>";
} else
{
echo "try again";
}
And it works....
the problem is that when the client gets the message the heathers show:
From: Nobody [mailto:nobody@server.myhost.com] On Behalf Of SOME NAME
I dont want the clients to see nobody@server.myhost.com as an address.. :queasy:
does anybody knows how to eliminate this and place just the: SOME NAME <info@somedomian.com> as the FROM address email???
Thanks for the help.
😃 😃 😃