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!

Email editquota

Discussion in 'cPanel Developers' started by yusufdamat, Jul 3, 2014.

  1. yusufdamat

    yusufdamat Registered

    Joined:
    Jul 3, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Code:
    $resultd = $xmlapi->api2_query($account, "Email", "editquota", array( 'domain' => 'domain.com', 'email' => 'deneme@domain.com', 'quota' => '125'));
    
    SimpleXMLElement Object
    (
        [apiversion] => 2
        [data] => SimpleXMLElement Object
            (
                [reason] => Account does not exist.
                [result] => 0
            )
    
        [error] => Account does not exist.
        [event] => SimpleXMLElement Object
            (
                [result] => 1
            )
    
        [func] => editquota
        [module] => Email
    )
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,699
    Likes Received:
    1,790
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    The entry for email should not include the @domain.com suffix. Instead, in your example, it should only use "deneme".

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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