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.

Intercept email account creation process

Discussion in 'cPanel Developers' started by guilhermejorge, Jul 26, 2009.

  1. guilhermejorge

    Joined:
    Jul 16, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hello all,

    I want to add new email accounts, created using cPanel, into my LDAP server as well.

    Is it possible to change email account creation process?

    I was thinking that cpanel uses addpop script to create email accounts, but it just used to create email accounts via command line.

    Regards,

    Guilherme
     
  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
    Yes, you can intercept the email account creation process. You would intercept the Email module's addpop function with a custom event handler. You can read more about creating your own custom event handler at:

    CustomEventHandler < DevHooks < TWiki

    If you need help with understanding how to use a custom event handler, let me know.
     
  3. guilhermejorge

    Joined:
    Jul 16, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    DavidG, thanks a lot for your reply!!!

    It worked fine for me!!

    cPanel is better than I was imagining! ;)

    Guilherme
     
Loading...

Share This Page