Hi all
Any mail from my web site form any visitor might send is sent from [EMAIL 
PROTECTED]
How can I change this?


I ask because sometimes I would like to reply to "unknown" people, so I would 
like to set up a web page I could enter in their email
address and send the mail from the web site so they think the email come from 
[EMAIL PROTECTED]   or some other email address a bit more
socially acceptable, we all know that "root" is "geek" talk but the "general 
public lady" might find this very offensive if you sent
her a email with that as return address. I was going to do something like 
[EMAIL PROTECTED] with a link automatically included in the
body of the message



I went to http://www.php.net/ dialed up "email" and went to pages like
http://nz.php.net/manual/en/function.mail.php or 
http://www.php.net/manual/en/function.mail.php for that matter

but example like


<?php
$to      = '[EMAIL PROTECTED]';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: [EMAIL PROTECTED]' . "\r\n" .
    'Reply-To: [EMAIL PROTECTED]' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);
?>

never worked, or should I say everything work OK except for the  $headers part

I wonder what MUA stands for as in "The addition of basic headers, telling the 
MUA the From and Reply-To addresses:"


>From Eric

Reply via email to