Hi,
I'm having trouble with the php imap_open() function in my code.
When I run the code, I receive this message….
Warning: imap_open(): Couldn't open stream xo5.x10hosting.com:993 in /home/***mysite***/public_html/***mycode****.php on line 43
imap connection error
The php code is...
$server = "xo5.x10hosting.com:993";
$username = "email@reports.x10host.com";
$password = "password";
echo"$server<br>";
echo"$username <br>";
echo"$password <br>";
$imap = imap_open($server, $username, $password) or die("imap connection error");
$message_count = imap_num_msg($imap);
for ($m = 1; $m <= $message_count; ++$m){
Has anyone come across this before?
I'm having trouble with the php imap_open() function in my code.
When I run the code, I receive this message….
Warning: imap_open(): Couldn't open stream xo5.x10hosting.com:993 in /home/***mysite***/public_html/***mycode****.php on line 43
imap connection error
The php code is...
$server = "xo5.x10hosting.com:993";
$username = "email@reports.x10host.com";
$password = "password";
echo"$server<br>";
echo"$username <br>";
echo"$password <br>";
$imap = imap_open($server, $username, $password) or die("imap connection error");
$message_count = imap_num_msg($imap);
for ($m = 1; $m <= $message_count; ++$m){
Has anyone come across this before?