nein, geht nicht, sagte ich doch auch schon.. 'mail' ist ein UNIX Befehl!
Naja scheinbar doch, habs gerade beim 2 Versuch gefunden @Peter, glaub das ist das was Du gesucht hast :
GETTING MAIL() TO WORK
Before you can use the mail() function to send mail, there are a few directives that need to be set up in the php.ini file so that the function works properly. Open php.ini with a text editor and look for these lines:
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = me@localhost.com
If you plan to use the outgoing mail server of your ISP (in this example, EarthLink), the entry in php.ini would look like this:
SMTP = mail.earthlink.net
The second configuration directive is sendmail_from, and this is the e-mail address used in the From header of the outgoing e-mail. It can be overwritten in the mail script itself but normally operates as the default value. For example:
sendmail_from = youraddress@yourdomain.com
A good rule of thumb for Windows users is that whatever outgoing mail server you have set up in your e-mail client on that machine, you should also use as the value of SMTP in php.ini. As always, restart your web server for the changes in php.ini to take effect.
mfG
Dimitri