The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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,279
    Likes Received:
    8
    Trophy Points:
    38
    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