Hi,
I've got a problem with the mail() function in PHP. I use PHP with Windows 2000 Professional.
In my php.ini file, which I've placed in C:\WINNT, are the following lines:
SMTP = smtp.worldonline.dk ;for win32 only
sendmail_from = kks@adsoft.dk ;for win32 only
A simple script like the following gives this error:
Warning: Server Error in e:\mail.phtml on line 3
The code
<?php
mail("kks@adsoft.dk", "Test", "This is a test!", "From: Kenneth<kks@adsoft.dk>\n");
?>
End *****
Hope someone has an answer...
By the way: I use Apache 1.3.19 as well.
Could there be anything else in php.ini that I need to configure???
Kenneth