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!

call cPanel functions from postwwwacct hook

Discussion in 'cPanel Developers' started by broncha, Feb 12, 2010.

  1. broncha

    broncha Active Member

    Joined:
    Feb 3, 2009
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    56
    Location:
    Kathmandu,Nepal
    cPanel Access Level:
    Root Administrator
    Hi,

    I searched for this in the forums BUT all I could find was few links which redirect to some other places.
    I need some pointers on how to call cpanel function from a postwwwacct hook.

    What i need to do is to automatically create some email accounts for a user when it is added to the server from WHM .

    Thanks,
    Broncha
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. broncha

    broncha Active Member

    Joined:
    Feb 3, 2009
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    56
    Location:
    Kathmandu,Nepal
    cPanel Access Level:
    Root Administrator
    So sad to see. No replies yet.People there must be a way.I am writing a php script for postwwwacct. Right now I make some updates to the .htaccess file of that particular account using this script but I need to be able to create some email accounts and probably create database and users.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. broncha

    broncha Active Member

    Joined:
    Feb 3, 2009
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    56
    Location:
    Kathmandu,Nepal
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. MattDees

    MattDees Well-Known Member

    Joined:
    Apr 29, 2005
    Messages:
    416
    Likes Received:
    1
    Trophy Points:
    243
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Broncha, As of this point, there really isn't an easier way. There are *other* ways of handling this, but the method outlined in that post is by *far* the easiest route.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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