From: stepanov at transchip dot com
Operating system: Windows XP Professional SP1
PHP version: 4CVS-2004-05-17 (stable)
PHP Bug Type: IMAP related
Bug description: Notice "Refused (10061) (errflg=2) in Unknown on" when IMAP
connection refused
Description:
------------
When IMAP connection is refused I get following notice:
Notice: (null)(): Can't connect to 192.168.0.251,143: Refused (10061)
(errflg=2) in Unknown on line 0
Reproduce code:
---------------
$mbox = @imap_open ("{192.168.0.251:143}Inbox", "user", "pass");
Expected result:
----------------
Because of calling the function with @ I expect don't see the notice. And
if I see the notice, I expect to see the file name and line number where
the error occurred, and not "in Unknown on line 0"
Actual result:
--------------
Notice: (null)(): Can't connect to 192.168.0.251,143: Refused (10061)
(errflg=2) in Unknown on line 0
--
Edit bug report at http://bugs.php.net/?id=28419&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28419&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28419&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28419&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28419&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28419&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28419&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28419&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28419&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28419&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28419&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28419&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28419&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28419&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28419&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28419&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28419&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28419&r=float