SOLVED Automated email generation script issue

Jeff P.

Well-Known Member
Feb 2, 2016
74
15
58
Daytona Beach, Florida, USA
cPanel Access Level
DataCenter Provider
Anyone see why this would stop working? It's returning false and nothing else too.

function makeemail1($domain,$account) {
global $root_pass,$ip;
$xmlapi = new xmlapi($ip);
$xmlapi->set_port(2082);
$xmlapi->password_auth($account,'xxxxxxxxxx');
$call = array('domain'=>$domain, 'email'=>'[email protected]'.$domain,'password'=>'xxxxxxxxxx', 'quota'=>'200');
return $xmlapi->api2_query($account, "Email", "addpop", $call);
}
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463