I know, to make the mail function work, you have to install a maildaemon, under linux, this is sendmail, but what is used under windows? and where can I get it?
Thx in advance, Bruno
Bruno,
On Win32 you don't need a mail daemon, you just need to specify the smtp server which PHP will use to route the mail out. See the SMTP and sendmail_from directives in php.ini.
geoff
thx,
After some search work yesterday, I came to the same conclusion 🙂
Yes, but what if you dont have acces to any smtp server?
you must setup one yourself this is build in in IIS
Then you're shte out of luck🙂 PHP on Win32 requires* a valid SMTP server to send mail via the mail() function (and the various SMTP classes in PEAR).
-geoff