Results 1 to 2 of 2

Thread: Email creation

  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    3

    Default Email creation

    Hi.

    We installed a new version of whm/cpanel.

    But, there is a script that is returning error. It makes creating email accounts.

    See below.

    -------------
    POST /frontend/x3/mail/doaddpop.html?email=teste2&domain=jumboo.com.br&password=123456&quota=50 HTTP/1.0 Host: 74.55.13.82 Authorization: Basic anVtYm9vYzpqZC4tNC41NA==
    -------------

    I debug a application.
    It returns a following message:
    "the limit should be a number or unlimited"

    Please, Can help us?

  2. #2
    Registered Member MattDees's Avatar
    Join Date
    Apr 2005
    Location
    Houston, TX
    Posts
    409

    Default

    Well, calling pages within cpanel directly like that usually isn't the best of ideas for exactly this reason. Rather we like to suggest that people use the APIs to do something like this.

    f.ex. you'd use Email::addpop (ApiEmail < ApiDocs < TWiki) when called via the xml-api you'd do the following:

    xml-api/cpanel?cpanel_xmlapi_module=Email&cpanel_xmlapi_func=addpop&email=teste2&domain=jumboo.com&password=123456&quota=50

    This will return an XML document rather than an HTML page.

    Please see CallingAPIFunctions < AllDocumentation/AutomationIntegration < TWiki
    Matt Dees

Similar Threads

  1. Email creation or email password changes policy
    By joehanz30 in forum New User Questions
    Replies: 0
    Last Post: 09-29-2010, 09:29 PM
  2. Account Creation Email
    By skyport in forum E-mail Discussions
    Replies: 4
    Last Post: 10-31-2008, 03:30 PM
  3. Email Creation
    By syntaxx in forum E-mail Discussions
    Replies: 0
    Last Post: 10-04-2008, 02:15 PM
  4. creation of email accounts
    By Cleverbum in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 03-01-2006, 05:39 AM
  5. Account creation email
    By jmc67 in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 03-12-2003, 06:00 PM

Tags for this Thread

bargain