Jump to content

Recommended Posts

Posted

:ph34r: There is a problem with IMAP PHP EXTENSION. If i try to execute a simple script with imap_open() function, i obtain

 

Warning: imap_open() [function.imap-open]: Couldn't open stream {imap.aol.com:993/imap/ssl}INBOX in /home/hitman/public_html/index.php on line 2

can't connect: Can't connect to open.gopen.imap.aol.com,993: Connection timed out

 

i think that surely it's a problem of server configuration.

I hope that server administrator can solve this problem soon.

 

 

P.S. I'm talking about a FREE HelioHosting

Posted

It's looking like AOL is blocking our servers, which isn't surprising because they have blacklisted us.

Posted
It's looking like AOL is blocking our servers, which isn't surprising because they have blacklisted us.

 

I tried also with a gmail account... same problem :-(

Posted

Did you enable IMAP on your Gmail account? Also, make sure you're addressing the right port and using the right authentication - Gmail is very picky.

Posted
Did you enable IMAP on your Gmail account? Also, make sure you're addressing the right port and using the right authentication - Gmail is very picky.

 

Sure, i'm not a newbie.

Are you a server administrator? Did you try to use imap php extension ?

The problem is on helios server configuration.

Posted
Post your PHP code snippet that you use to connect to Gmail.

 

Here the code, is very very simple:

 

<?php

$mbox = imap_open ('{imap.aol.com:993/imap/ssl}INBOX', 'user', 'pass' ) or die("can't connect: " . imap_last_error());

print_r($mbox);

?>

 

or (for gmail account)

 

<?php

$mbox = imap_open ('{imap.gmail.com:993/imap/ssl}INBOX', 'user', 'pass' ) or die("can't connect: " . imap_last_error());

print_r($mbox);

?>

Guest
This topic is now closed to further replies.
×
×
  • Create New...