This article documents the usage of the Cpanel::Email::getdiskusage function in relation to the cPanel interface. This tag can be used inside cPanel pages.
Cpanel::Email::getdiskusage
This tag will show the disk usage (in MB) for a specific email account.
<?cp Email::getdiskusage(%,diskused) user=$FORM{'email'},domain=$FORM{'domain'} ?>
This example will show the disk usage of an email account based on variables taken from a form.
Copyright 2007 cPanel Inc.