Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    2

    Default creatacct funtion

    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. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by garysimmons View Post
    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
    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. #3
    Registered User
    Join Date
    Jan 2009
    Posts
    2

    Default 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.

Similar Threads & Tags
Similar threads

  1. mail() funtion in php not sending email, not producing error
    By SharonGilmore in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 02-08-2012, 07:50 AM
  2. [WHM - API] E-mail Address Funtion
    By getlowdogg369 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-10-2006, 02:32 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube