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.

doaddpop hook?

Discussion in 'General Discussion' started by dorris, Apr 9, 2008.

  1. dorris

    dorris Member

    Joined:
    Mar 26, 2007
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    I would like to run some custom code in all my resellers cpanels, that registers a fax to email with every new email account they create.
    I see no hook on doaddpop.

    it can be as simple as referencing a website with the email address as a querystring.

    anyone managed anything of the sort?
     
    #1 dorris, Apr 9, 2008
    Last edited: Mar 2, 2010
  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
    I'm unsure if the Email addpop API1 function has been spruced up to work with our API hooks. I recommend experimenting if you haven't already done so. The documentation for this is sparse at the moment but can be found in /usr/local/cpanel/hooks/README (README is a file).
     
  3. simoesp

    simoesp Member

    Joined:
    Feb 13, 2008
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    you have to create in
    /usr/local/cpanel/hooks/email/

    the scripts are
    addpop - run after create
    delpop - run after deletion
     
Loading...

Share This Page