Bug #830: Make a 'from' parameter in the mail() function.
| From: | ca at kvl dot dk | Date: | Wed, 07 Oct 1998 15:06:36 +0000 |
| Subject: | Bug #830: Make a 'from' parameter in the mail() function. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1721@lists.php.net to get a copy of this message | ||
From: ca@kvl.dk
Operating system:
PHP version: 3.0.5
PHP Bug Type: Feature/Change Request
Bug description: Make a 'from' parameter in the mail() function.
I kindly suggest that you make a 'from' parameter in the mail function, like:
mail($to,$from,...) or mail($to,...,$from) to comply with the current syntax. This will surely give
the programmers more flexibility and it is required if you have the same PHP server running multiple
sites with individual mailservers. Besides, it is syntactically more correct give the
'from' email-address in the parameter form rather than in the 'sendmail_from'
parameter in the 'php3.ini' file, or even worse, having to modiffy this parameter manually
prior to executing the mail()-function.
Best,
Claus Andersson
--
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