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.

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:
    36,471
    Likes Received:
    1,217
    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.
     
Loading...

Share This Page