Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2009
    Location
    Where the streats have no name...
    Posts
    1

    Unhappy XML-API, e-Mail, Password

    Hello!

    I would like to see some XML-API function with which users could change their email passwords without going to http://www.domain.ext:2096, logging there, changing password...

    I think that with todays possibilities of cPanel (XML-API), and clients usage (habits) of email (WebMail), that would be very nice feature.

    In addition, if something "like" this already exists, please tell me how to do that.
    I didn't found the appropriate function in cPanel API 2 Docs.

    Thanks

    P.S.:I prefer Fast Mode and API 2....

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,720
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by beaver86 View Post
    Hello!

    I would like to see some XML-API function with which users could change their email passwords without going to http://www.domain.ext:2096, logging there, changing password...

    I think that with todays possibilities of cPanel (XML-API), and clients usage (habits) of email (WebMail), that would be very nice feature.

    In addition, if something "like" this already exists, please tell me how to do that.
    I didn't found the appropriate function in cPanel API 2 Docs.

    Thanks

    P.S.:I prefer Fast Mode and API 2....
    Here's the API1 function that the X3 theme uses for changing the password for an email address. This function is not yet available in API2.

    Code:
    <cpanel Email="passwdpop(email, password, quota, domain)">-->
    Email is the portion of the email address before the @ sign in this context.

  3. #3
    Registered User
    Join Date
    Mar 2005
    Posts
    1

    Default Quota

    Is there a function like passwdpop to change an email address's quota?

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,720
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Thundercat View Post
    Is there a function like passwdpop to change an email address's quota?
    Yes,

    HTML Code:
    <cpanel Email="editquota($FORM{'email'},$FORM{'domain'},$FORM{'quota'})">
    The first parameter is the part of the email address before @

    The second parameter is the part of the email address after @

    The third parameter is the new quota, specified in megabytes (e.g. 25 for 25 megabytes)

Similar Threads & Tags
Similar threads

  1. Changing account password using PHP and XML-API
    By larwilliams in forum cPanel Developers
    Replies: 0
    Last Post: 11-30-2010, 07:15 PM
  2. Changing email password using XML api
    By bwor in forum cPanel Developers
    Replies: 1
    Last Post: 10-21-2010, 10:25 PM
  3. Improve performance of password change via XML-API
    By larwilliams in forum cPanel Developers
    Replies: 1
    Last Post: 01-25-2010, 11:22 AM
  4. Request XML-API function: change password
    By XenomediaBV in forum cPanel Developers
    Replies: 2
    Last Post: 09-14-2009, 02:41 PM
  5. XML API verify user's password?
    By danneh3826 in forum cPanel Developers
    Replies: 2
    Last Post: 08-27-2008, 07:52 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube