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.

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:
    6
    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
     
  2. broncha

    broncha Active Member

    Joined:
    Feb 3, 2009
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
  3. broncha

    broncha Active Member

    Joined:
    Feb 3, 2009
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Kathmandu,Nepal
    cPanel Access Level:
    Root Administrator
  4. MattDees

    MattDees cPanel Product Owner
    Staff Member

    Joined:
    Apr 29, 2005
    Messages:
    417
    Likes Received:
    1
    Trophy Points:
    18
    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.
     
Loading...

Share This Page