SMTP port Problem - php.ini
| From: | Sijan Khadka | Date: | Mon, 25 Mar 2002 12:30:44 +0000 |
| Subject: | SMTP port Problem - php.ini | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6465@lists.php.net to get a copy of this message | ||
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 = sijank@hotmail.com ; 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
info@sijan.com.np