There's two setting's to need to find and edit in php.ini, SMTP and sendmail_from. Set SMTP equal to the addres of a valid smtp server which allows forwarding for your subnet (ie. smtp.your_isp.com). sendmail_from should contain the email address you want the message to be sent from. Make these changes, restart Apache/IIS/whatever, and you should be good to go.
-geoff