Re: How to change Return-path and sender address
| From: | Bart Frackiewicz | Date: | Thu, 06 Dec 2001 10:30:43 +0000 |
| Subject: | Re: How to change Return-path and sender address | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-76849@lists.php.net to get a copy of this message | ||
Hi Sanjay,
you can add extra headers in the mail command.
example from php.net:
mail("nobody@example.com", "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:sanjays@softhome.net]
Gesendet: Donnerstag, 6. Dezember 2001 11:29
An: php-general@lists.php.net
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
browserusername@domainname.com
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: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net