Welcome to the club! I have the same problem, try to put your ISP smtp server. or install the smtp server that come with iis5. i still dont have a solution to me. Adolfo ----- Original Message ----- From: "Alberto. Sartori" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 13, 2002 6:40 AM Subject: [PHP-WIN] Problems with mail()
> Hi guys. I've a big problem using mail() function. My system run under Win2k SP2 italian, with IIS 5 and PHP 4.1.2 (although I got this prob since 4.1.0). This is my php.ini > > [mail function] > ; For Win32 only. > SMTP = localhost > > ; For Win32 only. > sendmail_from = [EMAIL PROTECTED] > > I've tried to replace SMTP value with 127.0.0.1 or with my subnet IP....nothing to do! > It appears "Warning: Server Error in c:\inetpub\wwwroot\esempi\email.php on line 19" > This is my line 19: > > mail("[EMAIL PROTECTED]","hi lamer","all ok?"); > > It could be a bug? if I run this code under a english version of Win2k all works fine. My SMTP server in IIS is correctly configured, I'm sure about this! > Best regards, alb > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php