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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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: Thu May 02 21:01:31 2024 UTC