Hi Sanjay,

you can add extra headers in the mail command.

example from php.net:

mail("[EMAIL PROTECTED]", "the subject", $message,
     "From: webmaster@$SERVER_NAME\r\n"
    ."Reply-To: webmaster@$SERVER_NAME\r\n"
    ."X-Mailer: PHP/" . phpversion());

Bart

-----Ursprüngliche Nachricht-----
Von: sanjay [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 6. Dezember 2001 11:29
An: [EMAIL PROTECTED]
Betreff: [PHP] How to change Return-path and sender address


Hi

I have a script which sends email from the web. The problem is the
header of
the message contains "Return-path" and "Sender" email address as the
[EMAIL PROTECTED]

So, can some one help how can I set Return-path and Sender address as
From
Address?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to