Hello,
I've been able to use the
XMLAPI php class : http://forums.cpanel.net/f42/xmlapi-php-class-111897.html
to add and list email accounts on my cPanel hosting, but some how i am not being able to get the code right for changing passwords ,
$xmlapi = new xmlapi("Primary CPANEL domain");
$xmlapi->password_auth("username",$root_pass);
$account = "Cpanel username";
$xmlapi->api2_query($account, "Email", "passwdpop", array("domain name", "user name", "new password") );
but i really need this to work! What am I doing wrong? please help me out.
Thanks
I've been able to use the
XMLAPI php class : http://forums.cpanel.net/f42/xmlapi-php-class-111897.html
to add and list email accounts on my cPanel hosting, but some how i am not being able to get the code right for changing passwords ,
$xmlapi = new xmlapi("Primary CPANEL domain");
$xmlapi->password_auth("username",$root_pass);
$account = "Cpanel username";
$xmlapi->api2_query($account, "Email", "passwdpop", array("domain name", "user name", "new password") );
but i really need this to work! What am I doing wrong? please help me out.
Thanks