Re: Problems with mail()

From: Date: Wed, 13 Mar 2002 20:11:24 +0000
Subject: Re: Problems with mail()
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-12612@lists.php.net to get a copy of this message
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" <alberto.sartori@cellnetwork.it> To: <php-windows@lists.php.net> 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 = admin@boiler.com > > 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("ras78@caltanet.it","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 >

« previous php.windows (#12612) next »