Check to see how many copies of php.ini are on your system. Although it shouldn't affect the module version, the php.ini in the c:\php (or whatever) folder is read by the CGI executable instead of the one in c:\windows
<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Try to put SMTP from your ISP, like: smtp.isp.com in the php.ini and try then... > > I run Win XP with PHP and it works OK! > > Good luck > > Alex > > >----- Original Message ----- > >From: "Tomator" <[EMAIL PROTECTED]> > >Date: Friday, May 10, 2002 1:52 pm > >Subject: [PHP-WIN] mail() problem > > > >> When I try to use mail() function I see warning "Unknown error in > >> line...". > >> I'm using WinXP with PHP as Apache's module and have PHP.INI in > >> C:\winnt,where is the line "SMTP = my.addres". However phpinfo() > >> ALWAYS tells that > >> SMTP is "localhost". I can change thist only with ini_set(), but > >> it doesn't > >> fix my problem - I can't send any e-mail from my PHP! > >> > >> How to do this?? > > > > > >-- > >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 > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php