php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17364 Couldn't open imap conection
Submitted: 2002-05-22 11:17 UTC Modified: 2002-05-22 14:45 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:3 (100.0%)
From: ruclamo at cidlisuis dot org Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.2.1 OS: Red Hat 7.3
Private report: No CVE-ID: None
 [2002-05-22 11:17 UTC] ruclamo at cidlisuis dot org
Good morning, sir:

I get this error message when I attempt to open a IMAP conection:

Warning: Couldn't open stream {localhost:143} in /var/www/html/prueba.php on line 2

This is the code line that I use; "ruclamo" is my valid system user and "123" is  my password :

<?
	$mbox=imap_open("{localhost:143}", "ruclamo" , "123");
?>

I used this code on Red Hat 7.2, with nothing problem.  Actually, I am working with Red Hat 7.3,  with all php and imap packages installed.

Thank you, excuse my poor English,

Ruth Moreno

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-22 14:45 UTC] sniper@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. 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

Thank you for your interest in PHP.
 [2002-06-23 13:47 UTC] theodore at mts dot net
i have exactly the same problem with php 4.2.1 and imap 2001a, it can't connect to any imap servers....
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Oct 20 17:03:35 2021 UTC