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 e-mail password via shell

Discussion in 'cPanel Developers' started by Dante78, Nov 3, 2010.

  1. Dante78

    Dante78 Well-Known Member

    Joined:
    May 1, 2010
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    Hello

    My cpanel licensee of the VPS has expired and i have a change the password to an email adress. How can i do that in SH?

    Cheers
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Friendly moderator note

    You originally posted this question as a response to a thread that is over four years old. I moved this post to its own thread since information in such an old thread is not likely to be relevant. This is the original thread:

    http://forums.cpanel.net/f5/can-we-change-email-username-password-outside-cpanel-59083.html

    There is no script to do this directly via the shell, but you can change the password for an e-mail account using the Email::passwdpop API2 function. This function is documented here:

    ApiEmail < ApiDocs/Api2 < TWiki

    If you are not familiar with our API, I recommend the following section of our documentation:

    WebHome < ApiDocs < TWiki

    Also, more information about cPanel from the development perspective is available here:

    Developer Resources
     
    #2 cPanelJared, Nov 3, 2010
    Last edited by a moderator: Nov 3, 2010
Loading...

Share This Page