Bug #5436 Updated: mail() function just hung for ever (both for ISAPI and CGI module)

From: Date: Sun, 21 Apr 2002 19:23:22 +0000
Subject: Bug #5436 Updated: mail() function just hung for ever (both for ISAPI and CGI module)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-5523@lists.php.net to get a copy of this message
ID: 5436 Updated by: ducvan@emayco.com Reported By: papagel@ceid.upatras.gr Status: Closed Bug Type: Other Operating System: Windows 2000 PHP Version: 4.0.1pl2 New Comment: Hi; I have a similar problem. PHP mail() seem no to work. I am using php-4.1.2, apache_1.3.24-win32-x86-no_src, mysql-3.23.49. I am using MS-Exchange server as my mail server. All run on Window 2000 on the same box. Here the problem. Every I try to send a mail using php mail() function to the internet e.g. ( who@yahho.com ), it will NOT work. It work only within my network. I can send mail to my exchange locally e.g. ( who@emayco.com ). It's WORK! I have try the following setting the SMTP to: SMTP =pc.com SMTP =localhost SMTP =127.0.0.1 SMTP =192.168.1.200 SMTP =www.pc.com I have copy php.ini file to winnt, winnt/system, winnt/system32. I have try modified mail and sendmail from "\n" to "\r\n". Please help me....... Can some one help me? Here is my setting in php.ini and it only work locally. [mail function] ; For Win32 only. SMTP =mserver.pc.com ; For Win32 only. sendmail_from =who@pc.com ; For Unix only. You may supply arguments as well (default: 'sendmail -t -i'). ;sendmail_path =/ PHP user Previous Comments: ------------------------------------------------------------------------ [2000-08-20 02:53:51] sniper@php.net No feedback, not enough info, should be fixed in CVS. --Jani ------------------------------------------------------------------------ [2000-07-27 21:12:15] zak@php.net Please provide more information - what is your SMTP setting in your php.ini file. Also, please read http://bugs.php.net/bugs-dos-and-donts.php ------------------------------------------------------------------------ [2000-07-07 16:12:35] papagel@ceid.upatras.gr ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=5436&edit=1

« previous php.bugs (#5523) next »