#51123 [NEW]: Mail function error can't to connect mail server.
| From: | som_sea at hotmail dot com | Date: | Tue, 23 Feb 2010 12:46:55 +0000 |
| Subject: | #51123 [NEW]: Mail function error can't to connect mail server. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-147980@lists.php.net to get a copy of this message | ||
From: som_sea at hotmail dot com
Operating system: Windows XP
PHP version: 5.2.12
PHP Bug Type: Mail related
Bug description: Mail function error can't to connect mail server.
Description:
------------
Background version. AppServ Open Project - 2.5.8 for Windows :
Apache Web Server Version 2.2.4
PHP Script Language Version 5.2.1
MySQL Database Version 5.0.27
phpMyAdmin Database Manager Version 2.9.2
Problem:Can not connect to mail sever.
Error msg.
Warning: mail() [function.mail]: Failed to connect to mailserver at
"XXXXXX" port 25, verify your "SMTP" and "smtp_port" setting in
php.ini or
use ini_set() in C:\AppServ\www\xxx.php on line xx
=====
If use this script/mailserver/ini-mail-set with php ver.4.xx(Appserv
v.2.4) its work.
How can do???
Actual result:
--------------
Warning: mail() [function.mail]: Failed to connect to mailserver at
"XXXXXX" port 25, verify your "SMTP" and "smtp_port" setting in
php.ini or
use ini_set() in C:\AppServ\www\xxx.php on line xx
--
Edit bug report at http://bugs.php.net/?id=51123&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51123&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51123&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51123&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=51123&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51123&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=51123&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=51123&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=51123&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=51123&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=51123&r=support
Expected behavior: http://bugs.php.net/fix.php?id=51123&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=51123&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=51123&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=51123&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51123&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=51123&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=51123&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=51123&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=51123&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=51123&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=51123&r=mysqlcfg