You can set the SMTP directive in your php.ini to your desired smtp server. You can then use the mail function in PHP to send mail. Theoretically this should work.
[mail function]
; For Win32 only.
SMTP = mail.myserver.com
SMTP = 25 ;smtp port
However I use Win 2000 and the mail function just hangs.:mad: