Bug #662: Feature request: sendmail_from
| From: | vogel at folz dot de | Date: | Tue, 18 Aug 1998 15:55:28 +0000 |
| Subject: | Bug #662: Feature request: sendmail_from | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-297@lists.php.net to get a copy of this message | ||
From: vogel@folz.de
Operating system: linux 2.0
PHP version: 3.0.3
PHP Bug Type: Feature/Change Request
Bug description:
Could you please turn the Windows-only variable
sendmail_from into a variable that may be used in Apache
configuration files under unix?
This is for the benefit of the use of the Mail() function
in virtual hosts. I would like to do something like this
in Apache's httpd.conf:
<VirtualHost bla.foo.org>
php3_sendmail_from webmaster@foo.org
</VirtualHost>
<VirtualHost www.bla.com>
php3_sendmail_from writeme@bla.com
</VirtualHost>
and either PHP adds a "From:" header in addtion to the
"To:" and "Subject:", or, even better, provides sendmail
with the neccessary flags for setting the SMTP envelope
From address ("-f"). This could even be configurable
via an other Apache variable, or as a compile time option
via the configure script.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net