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.

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:
    1
    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,279
    Likes Received:
    8
    Trophy Points:
    38
    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:
    1
    cPanel Access Level:
    DataCenter Provider
    David, thank you very much and have a nice weekend.
     
Loading...

Share This Page