getModule(false); $response = new Vtiger_Response(); global $max_mailboxes; if ($recordsCount < $max_mailboxes) { $result = array(true); $response->setResult($result); } else { $response->setError(vtranslate('LBL_MAX_LIMIT_EXCEEDED', $qualifiedModuleName)); } $response->emit(); } } ?>