php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #662 Feature request: sendmail_from
Submitted: 1998-08-18 11:55 UTC Modified: 1999-06-29 15:01 UTC
From: vogel at folz dot de Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 3.0.3 OS: linux 2.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
42 + 49 = ?
Subscribe to this entry?

 
 [1998-08-18 11:55 UTC] vogel at folz dot de
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-29 15:01 UTC] jim at cvs dot php dot net
You can do this just by setting the correct flag and value in the
php3_sendmail setting.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 11:01:34 2024 UTC