Description

This function returns the amount of disk space that the main mail account uses.

Examples 


$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
$main_mail_space = $cpanel->api1('Email', 'mainacctdiskused') ); // Call the function.

my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once.
my $main_mail_space = $cpliveapi->api1('Email', 'mainacctdiskused'); # Call the function.

<cpanel Module="Email::mainacctdiskused() )">
cpapi1 --user=username Email mainacctdiskused

0

Parameters

This function does not accept parameters.

Returns

This function returns an integer value that represents the amount of disk space that the main mail account currently uses, in Megabytes (MB).