|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5436 mail() function just hung for ever (both for ISAPI and CGI module)
Submitted: 2000-07-07 16:12 UTC Modified: 2000-08-20 02:53 UTC
From: papagel at ceid dot upatras dot gr Assigned:
Status: Closed Package: Other
PHP Version: 4.0.1pl2 OS: Windows 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: papagel at ceid dot upatras dot gr
New email:
PHP Version: OS:



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-27 21:12 UTC]
Please provide more information - what is your SMTP setting in your php.ini file.

Also, please read
 [2000-08-20 02:53 UTC]
No feedback, not enough info, should be fixed in CVS.

 [2002-04-21 15:23 UTC] ducvan at emayco dot com

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. ( ), it will NOT work. 

It work only within my network. I can send mail to my exchange locally e.g. ( ). It's WORK!

I have try the following setting the SMTP to:
SMTP =localhost

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.

; For Win32 only.

; For Unix only.  You may supply arguments as well (default: 'sendmail -t -i').
;sendmail_path =/

PHP user
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 14:01:33 2024 UTC