I have never tried that under windows... but try localhost:22 -- MFG GameCrash
Webmaster Let'z Play @ http://www.letzplay.de Webmaster Sharp-Forum.de @ http://www.sharp-forum.de "Sijan Khadka" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have Window 2000 server with PHP 4.1.2 installed..... > It has MailMax running in port 25 and Microsoft SMTP at port 22. > > The problem is that the php mail() function is not working.... > I get errors like - > Warning: Failed to Connect in D:\INETPUB\websites\sijan.com.np\mail\mail.php > on line 2 > > And > This is how the file 'php.ini' looks.. > > [mail function] > SMTP = localhost ; for Win32 only > sendmail_from = [EMAIL PROTECTED] ; for Win32 only > > I think PHP is taking port 25 as default SMTP port....now i need to change > that to 22... > But i didn't find place to put port no. in it.... > > Please help me.... i really need to fix this urgently... > > -- > Sijan Khadka > sijan.com.np > [EMAIL PROTECTED] > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php