note 87408 deleted from function.imap-open by thiago
| From: | thiago@php.net | Date: | Thu, 04 Dec 2008 11:48:04 +0000 |
| Subject: | note 87408 deleted from function.imap-open by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147612@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
I was trying to connect to an IMAP server from my server, but I don't want to get to the inbox,
I want to be able to read the account details (username, password) of the accounts in the IMAP
server. The problem is that I am trying to use the function, I have the name of the IMAP server and
its port number, but I can't seem to connect to it...can anyone help me with this??what should
I add to the following code? I don't want to make a connection through a username and a
password, I want to be able to read all of the accounts that are inside the server.
Thank you!
$mbox=imap_open("{195.251.213.111:143/imap}")
or die("Connection to server failed: " .imap_last_error());