ID:               5436
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 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. ( [EMAIL PROTECTED] ), it will NOT work. 

It work only within my network. I can send mail to my exchange locally
e.g. ( [EMAIL PROTECTED] ). 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 [EMAIL PROTECTED]

; 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] [EMAIL PROTECTED]

No feedback, not enough info, should be fixed in CVS.

--Jani

------------------------------------------------------------------------

[2000-07-27 21:12:15] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=5436&edit=1

Reply via email to