Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

filter email count

Discussion in 'cPanel Developers' started by Sanchezzz, Jan 19, 2009.

  1. Sanchezzz

    Sanchezzz Registered

    Joined:
    Jul 28, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    hi help!
    How to get the number of employed filters API function
    Previously, it was as follows confused:

    $countfilters = '<cpanel Email="countfilters()">';

    Adding across:
    <?cp Email::loadfilter(%,filter) account=$FORM{'account'},filtername=$FORM{'filtername'} ?>

    Email::filterrules ...
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    The $countfilters = code, is that executing from within the cPanel interface or from an external script outside the cPanel interface? I ask because raw API1/API2 can only be executed within the cPanel Interface. Outside the interface, one needs to use the XML-API to interface with those APIs.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice