On Fri, August 28, 2009 4:23 pm, Chris Smith wrote: > Richard Lynch wrote: >>> Then Chris Smith wrote: >>> It is simple to detect the method used, SMTP is used if >>> sendmail_path >>> is empty and the system is Windows, otherwise sendmail is used. >> >> I think you should revise this to be "if sendmail_path is empty". >> >> Many *nix folks use SMTP as well... > > The SMTP function of mail() only works under Windows. [1] > > Regards, > > Chris > > [1] > http://svn.php.net/viewvc/php/php-src/tags/php_5_3_0/ext/standard/mail.c?view=markup#l252
Sorry. I was thinking of Manuel Lemos' SMTP class oft-used on Un*x to provide SMTP support, rather than the built-in mail() function. -- Some people ask for gifts here. I just want you to buy an Indie CD for yourself: http://cdbaby.com/search/from/lynch -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php