I have a very simple script :
mail("matt.lemon@irishlife.ie" , "test" , "test");
?>
But when I load the page I get the following error :
Warning: Server Error in E:\Inetpub\wwwroot\cb-home\projects\enhancements\test.php on line 6
PHP parsing
I have edited the PHP.ini file and it's pointing to localhost and has a valid 'from' address. I know that the SMTP service on the IIS box works because using ASP I can create mail using the CDONTS object and that uses the localhost smtp service.
I added a fourth parameter because one or two people suggested that there was a bug that required a fourth, but no difference. I tried single instead of double quotes, again because of threads in here.
The server is an NT 4, IIS with PHP 4 on it. PHP works fine apart from this function !
Any suggestions ?
Matt
http://www.midland-network.com