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!

Change CONTACTEMAIL via 'modifyacct' function?

Discussion in 'cPanel Developers' started by Jason B, Feb 23, 2012.

  1. Jason B

    Jason B Member

    Joined:
    Feb 15, 2012
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    DataCenter Provider
    Hi,

    The documentation makes it look like I can view, but not change a cPanel's contact email info via the 'modifyacct' function. Is there any way to change the contact email programmatically?

    Thanks,
    Jason
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Yes, you can use the following API2 function:

    ApiCustInfo < ApiDocs/Api2 < TWiki

    Note, I think there's a typo in the documentation (secpmd_email seems like it should be second_email), I've alerted our documentation team of this.
     
  3. Jason B

    Jason B Member

    Joined:
    Feb 15, 2012
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    DataCenter Provider
    David, thank you very much and have a nice weekend.
     
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