When I try to use a php script, to send an email, the From header is
replaced by a senders email address of my provider. Is there any way to make
it so my email address shows up in the From header?

In the script I used fake addresses, because of client privacy reasons...

<?
$email = "[EMAIL PROTECTED]";
$mailheaders = "From: My Name\n";
$mailheaders .= "Reply-To: [EMAIL PROTECTED]\n\n";

$message2 ="MESSAGE GOES HERE";
mail($email,"TITLE",$message2,$mailheaders);
?>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to