does that php script uses php mail function . If does then you need to define mail server settings in php.ini . open php.ini and locate mail there define your smtp and port and sending email user.Still cant do it then paste result of this page ..
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);
?>