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.

creatacct funtion

Discussion in 'General Discussion' started by garysimmons, Jan 9, 2009.

  1. garysimmons

    garysimmons Registered

    Joined:
    Jan 9, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I am using remote access to generate new accounts via my own scripts but would like to know if there is a way for me to set the Contact Email for a user/account either during or immediately after account creation remotely?

    Thanks in advance
     
  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
    If you're using the XML API's createacct function, you can specify the contact email at account creation:

    Documentation: http://cpanel.net/plugins/xmlapi/createacct.html
     
  3. garysimmons

    garysimmons Registered

    Joined:
    Jan 9, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Thanks

    Hi David,

    Thanks for your help. I didn't realise the XML API existed and checked out you link. Everything is working great for me now.

    Thanks again and have a great day.:)
     

Share This Page