"Marco Alting" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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); > ?> > >
Are you running this on Windows? If you are have a look at: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php