I am trying to create a POP e-mail account with the command below but I keep getting the error message
"You do not own that domain"
Does anyone know what might cause this error?
I have, off course, first created the account 'mydomain.com' so the error message makes no sense to me.
There are several posts on this forum that feature the same error message, but they did not provide a solution for this particular problem.
Any help is greatly appreciated!
"You do not own that domain"
PHP:
$sock = new HTTPSocket();
$sock->connect('ssl://localhost', 2222);
$sock->set_login(ADMIN_USERNAME, ADMIN_PASSWORD);
$sock->set_method('POST');
$sock->query('/CMD_EMAIL_POP',
array(
'action' => 'create',
'domain' => $domain, // i.e. 'mydomain.com'
'user' => $username, // i.e. 'john'
'passwd' => $password,
'passwd2' => $password,
'create' => 'Create'
)
);
$result = $sock->fetch_body();
I have, off course, first created the account 'mydomain.com' so the error message makes no sense to me.
There are several posts on this forum that feature the same error message, but they did not provide a solution for this particular problem.
Any help is greatly appreciated!