This article documents the usage of the Cpanel::Email::listpopswithdisk function in relation to the cPanel interface. This tag can be used inside cPanel pages.
Synopsis
Cpanel::Email::listpopswithdisk
Description
This function lists all email accounts for a domain, along with their disk space quota and disk space usage.
Variables
Input
- nearquotaonly (string)
- Displays accounts with disk usage percentage greater than 95%, if nearquotaonly=1 (1,0)
- infinitylang (string)
- Use the language tag ``infinity'' for the infinity symbol if the item's limit is infinity. (1,0)
- domain (string)
- Domain to list email accounts for. Format: domain.com
- infinityimg (string)
- Use an image for the infinity symbol if the item's limit is infinity. (filename of image)
- email (string)
- Email account. Format: email@domain.com
Output
Examples
<?cp Email::listpopswithdisk(% % % email,diskused,diskquota) domain=exampledomain.com ?>
This example lists all email accounts associated with exampledomain.com and their respective disk space usages and disk space quotas.
Copyright
Copyright 2007 cPanel Inc.
Topic revision: r2 - 07 Apr 2009 - 21:23:51 - Main.JustinSchaefer