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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vogel at folz dot de
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sun Dec 22 11:01:30 2024 UTC