ID:               27567
 Updated by:       [EMAIL PROTECTED]
 Reported By:      a dot bleys at fbk dot eur dot nl
-Status:           Open
+Status:           Bogus
 Bug Type:         IMAP related
 Operating System: Win2K
 PHP Version:      4CVS-2004-03-11 (stable)
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

This is not support forum. (and this is NOT bug)




Previous Comments:
------------------------------------------------------------------------

[2004-03-11 09:00:17] a dot bleys at fbk dot eur dot nl

Description:
------------
If I try to connect to the imap server, IMAP.fbk.eur.nl, it fails. It
returns: "invalid remote specification", independent of:

* correct username/password

* mailbox name (changing IMAP.fbk.eur.nl to http://www.php.net/ gives
the same error)

* Using port numbers (same result without port as with 143 or 993)

* adding INBOX after the server name



Standard mail clients like netscape, mozilla or novell netmail work
fine, so the server seems to be ok.

Webserver is apache 1.3.



According to the manual
(http://www.php.net/manual/en/function.imap-open.php) my syntax seems
to be ok.



Bug report #27482 suggests that it might be a script/setup problem, but
if so: what are the correct settings?



Reproduce code:
---------------
$mbox = imap_open("{IMAP.fbk.eur.nl/imap/novalidate-cert}",
$strUsername, $strPassword);



if($mbox)

{

  printf("Connected to IMAP server<br><br>\n");

  // Do something....

  imap_close($mbox);

}

else

{

  printf("Could not connect to imap server,<br>Error = %s<br>\n",
imap_last_error());

}

Expected result:
----------------
Connected to IMAP server







Actual result:
--------------
Warning: imap_open(): Couldn't open stream
{IMAP.fbk.eur.nl/imap/novalidate-cert} in c:\program files\apache
group\apache\htdocs\isis\webmail.php on line 29 Could not connect to
imap server,

Error = Can't open mailbox {IMAP.fbk.eur.nl/imap/novalidate-cert}:
invalid remote specification

Notice: (null)(): Can't open mailbox
{IMAP.fbk.eur.nl/imap/novalidate-cert}: invalid remote specification
(errflg=2) in Unknown on line 0Unknown on line 0


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


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

Reply via email to