note 35074 added to function.imap-open
| From: | marshall at rack1 dot php dot net | Date: | Mon, 18 Aug 2003 21:44:22 +0000 |
| Subject: | note 35074 added to function.imap-open | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-54619@lists.php.net to get a copy of this message | ||
I only run imap on port 993 (ssl only) and I was unable to use imap_open().. couldn't even get
an error out of the script, it just sat there and timed out with no messages in the logs or
anything--the page wouldn't load.
Anyway, this is what finally worked, which I found in the readme for a popular opensource webmail
system:
$i = @imap_open("{localhost:993/ssl/novalidate-cert}INBOX", $user, $pw);
I didn't see the 'ssl' option mentioned anywhere in these comments so maybe this will
help someone out.
----
Manual Page -- http://www.php.net/manual/en/function.imap-open.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35074
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35074&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35074&report=yes