I everyone. I know how old this thread is so I am not entirely expecting a reply.
I am very new to Cpanel scripts and was able to set this up with no problems at all. I am using this to allow a client to create email address for themselves and their employees without having to take the extra step of requesting it through me. (I don't want to grant them direct Cpanel access)
I have found the Cpanel API2 script for changing passwords
Code:
$xmlapi = new xmlapi("Primary CPANEL domain");
$xmlapi->password_auth("username",$root_pass);
$account = "Cpanel username";
$xmlapi->api2_query($account, "Email", "passwdpop", array( 'domain' => "domain name", 'email' => "user name", 'password' => "new password") );
and I am wondering if there would be anyway to incorporate this into the files posted in this thread. I would love to give my clients the option to change the email password if they needed to. But as I said before I am literally just learning about Cpanel APIs (12 hours now and counting!) so I'm not really sure how one would go about implementing this.
Anyone gracious enough to help out a very very green rookie?
Thanks in advance.
Jason