Hi,
as far as I know, you have to set SMTP in php.ini to the host which runs the mail daemon. From the manual:
SMTP string
DNS name or IP address of the SMTP server PHP under Windows should use for mail sent with the mail() function.
sendmail_from string
Which "From:" mail address should be used in mail sent from PHP under Windows.
Good luck
Gauss