Heya, I am having a bit of trouble listing the current email accounts for my domain. Here is the code and screenshots ...
http://www.spb-fb.co.uk/problem.jpg
I dont understand why it isnt displaying in a Array
PHP:
<?php
include 'httpsocket.php';
$sock = new HTTPSocket;
$sock->connect('spb-fb.co.uk',2222);
$sock->set_login('spbfb','password----');
$sock->query('/CMD_EMAIL_POP', array('action' => 'list', 'domain' => 'spb-fb.co.uk'));
$result = $sock->fetch_parsed_body();
echo $sock->result;
?>
http://www.spb-fb.co.uk/problem.jpg
I dont understand why it isnt displaying in a Array