php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27482 imap_open doesn't work with SSL or TLS
Submitted: 2004-03-03 12:27 UTC Modified: 2004-03-08 06:27 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: ronanmcnulty at hotmail dot com Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.3.4 OS: WINXP
Private report: No CVE-ID: None
 [2004-03-03 12:27 UTC] ronanmcnulty at hotmail dot com
Description:
------------
I can't get imap_open to connect with SSL. 

I have included the openssl module, but this has made not difference

Reproduce code:
---------------
$mbox = imap_open('{'.$server.':993/imap/ssl/novalidate-cert}INBOX',$name, $pass)

Expected result:
----------------
I was hoping to have secure connections to ssl enabled imap servers. 

Actual result:
--------------
ERROR: Can't open mailbox {imap.cc:993/imap/ssl/novalidate-cert}INBOX: invalid remote specification

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-03 12:45 UTC] derick@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2004-03-03 13:11 UTC] ronanmcnulty at hotmail dot com
I've tried every method stated in the manual e.g.

$mbox = imap_open ("{localhost:993/imap/ssl}INBOX", "user_id", "password");

$mbox = imap_open ("{localhost:993/imap/ssl/novalidate-cert}INBOX", "user_id", "password");

I still recieve the error "invalid remote specification". I have tried it on a number of ssl enabled imap servers, and it does not work on any of them. Is this purely a windows problem? Nothing is stated in http://www.php.net/imap_open to imply that it is. I don't know what other information I can give you other than, it has been tried hundreds of times, and failed hundreds of times.
 [2004-03-08 06:27 UTC] sniper@php.net
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.

You're doing something wrong since this works just fine with proper script / setup.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 22:01:29 2024 UTC