I´m using postcast smtp server in windows 2000, and i´m trying to use the function mail(); but I get this exception:
Warning: Server Error in c:\inetpub\wwwroot\diseno\paso3.php
The Postcast smtp server works properly. In my php.ini i´ve wrote:
[mail function]
SMTP=localhost; for Win32 only
sendmail_from=me@localhost.com ; for Win32 only
upload_tmp_dir = C:\PHP\uploadtemp ; temporary directory for HTTP uploaded files (will use system default if not specified)
and my php code is this one:
$mensage="here goes the text";
mail("karli_2oo2@hotmail.com", "Subject", $mensage);
Please, help me. Am I doing something wrong? Did I miss something?
Thnks!