Hello,
I have a strange problem with the mail function on php3.0.16 running IIS5.
When I configure php3.ini to use a mailserver other than localhost (the local machine is running an smtp service as well).
When I try to send an email using another smtp server than localhost two things happen:
1. On the webserver I get a dialog box: unknown has generated errors and will be closed by Windows. You will need to restart the program.
2. On the browser requesting the page no data comes back. After a long time I do get the following: The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: ERROR: could not get the task list
When I setup to mail using localhost I get an error in my browser: "Warning: Server Error in C:\pathtofile\phpinfo.php3 on line 14
My line 14 looks like: $test = mail("lucas@think-ahead.nl", "subject", "message");
Is anybody else having this problem? Any help would be greatly appreciated...