Re: making mail() funtion work without sendmail on UNIX systems
| From: | Hartmut Holzgraefe | Date: | Fri, 19 Oct 2001 08:21:29 +0000 |
| Subject: | Re: making mail() funtion work without sendmail on UNIX systems | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68306@lists.php.net to get a copy of this message | ||
Rasmus Lerdorf wrote:
I am really not a big fan of putting smtp code into PHP on UNIX. The whole philosophy of UNIX is to have a collection of small specialized tools that work together instead of one mammoth tool. Which UNIX system does not have the ability to send mail? We really should not be re-inventing every wheel out there.#1 unified configuration in php.ini for win *and* unix #2 From: header settings both message and SMTP #2 independance of how good the /usr/lib/sendmail binary
emulation provided by different MTAs (if at all) is#4 error checking what happens today if you have an application that does more then just simple informative messages with PHP is that you stay away from mail() altogether and talk SMTP using fsockopen() as the sendmail binary interface is just not up to what you need so i'd say we can argue if SMTP should be implemented at the C or PEAR level, but it should definetly be available as a standard feature for all Platforms -- Hartmut Holzgraefe hartmut@six.de http://www.six.de +49-711-99091-77 Besuchen Sie uns auf der Systems in München in Halle B1 Stand 254