$cpanel = new CPANEL(); //login details

  

// Return the total disk usage for the mailing lists of a cPanel account.

$variable = $cpanel->uapi(

    'Email', 'get_lists_total_disk_usage'

); print_r($variable);

1

There are 1 best solutions below

0
On

this was the error in Cpanel api and i reported to them and they fix that issue now it works fine