Jump to content

imap_open


wmguk

Recommended Posts

Hi,

 

I'm trying to run a service status script.

 

I'm using:

function check_imap($server_imap_url,$server_imap_port,$server_imap_email,$server_imap_password)
{
// To connect to a IMAP server on port 143 on the local server, use:

$mbox = @imap_open("$server_imap_url:$server_imap_port/imap", "$server_imap_email", "$server_imap_password");
if($mbox)
	good();
else
	bad();
}

 

However I get an error

Warning: imap_open() [function.imap-open]: Couldn't open stream 95.172.4.154:110 in /home/wickedw6/public_html/status.php on line 57

 

Any ideas?

Link to comment
https://forums.phpfreaks.com/topic/185252-imap_open/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.