note 67001 added to function.imap-open
| From: | youneek1 at gmail dot com | Date: | Fri, 02 Jun 2006 05:46:35 +0000 |
| Subject: | note 67001 added to function.imap-open | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-112863@lists.php.net to get a copy of this message | ||
I tried TONS of combinations and could never get it to work. I used the below script to find out
what the error was, and the below settings seem to be pretty universal for the servers I have tested
so far.
<?php
$user = "username";
$pass = "password";
$imapserver = "servername";
$econn = imap_open
("{".$imapserver.":143/imap/novalidate-cert/notls}INBOX",$user,$pass) or die
("Connection fail" .imap_last_error ());
if ($econn)
{echo "Success";}
else
{echo "Fail ";}
?>
----
Server IP: 216.194.113.175
Probable Submitter: 24.251.36.143
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.imap-open.php
Edit -- http://master.php.net/note/edit/67001
Del: integrated -- http://master.php.net/note/delete/67001/integrated
Del: useless -- http://master.php.net/note/delete/67001/useless
Del: bad code -- http://master.php.net/note/delete/67001/bad+code
Del: spam -- http://master.php.net/note/delete/67001/spam
Del: non-english -- http://master.php.net/note/delete/67001/non-english
Del: in docs -- http://master.php.net/note/delete/67001/in+docs
Del: other reasons-- http://master.php.net/note/delete/67001
Reject -- http://master.php.net/note/reject/67001
Search -- http://master.php.net/manage/user-notes.php