Resend Welcome Email not working perhaps

inferencia

Verified User
Joined
Aug 21, 2005
Messages
677
Location
Spain
I use this method:

require '../httpsocket.php';

$emails=$email.',[email protected]';

$sock = new HTTPSocket;
$sock->connect($serverip,2222);

$sock->set_login("admin","xxxxxxx");

$sock->set_method('GET');
$sock->query('/CMD_API_RESEND_EMAIL',
array(
'user' => $username,
'newpass' => 'yes',
'email' => $emails
));
$result = $sock->fetch_body();
echo $result;

and get this result:

You cannot execute that command

Detalles:

The request you've made cannot be executed because it does not exist in your authority level

Is this API active already ?
 
Back
Top