
Here is the code:
Code: Select all
$host = "{imap.gmail.com:993/imap/ssl}INBOX";
$user = "myaccount@gmail.com";
$pass = "mypass";
$mbox = @imap_open( $host, $user, $pass ) or die("Can not connect");
Moderator: General Moderators

Code: Select all
$host = "{imap.gmail.com:993/imap/ssl}INBOX";
$user = "myaccount@gmail.com";
$pass = "mypass";
$mbox = @imap_open( $host, $user, $pass ) or die("Can not connect");
IMAP extension is installed, WampServer is restated also. When I remove @ same thing happens.John Cartwright wrote:Do you have the IMAP extension installed?
What happens if you remove the @ in front of imap_connect
Yes, my other pages, work perfectly. This one works too if i comment imap_open() function.Peter Kelly wrote:Does http://localhost/ work? or any other pages?
PHP error logs are empty, but, apache logs show this message:John Cartwright wrote:What do your php error logs say?
[Wed Feb 09 16:26:26 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]