• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Issue API to update mail quota not working

MicheleP

Basic Pleskian
Version 18.0.38 - The API to change mailbox quota does not work. The response is "ok" but the size doesn't change. Tested on three different servers
 
This is the code. I've multiple servers, with Obsidian it not work anymore, does not change the quota, while with a server running Onyx 17.8.11 it works fine, so the problem is with Obsidian 18.0.38

$request = <<<EOF
<packet>
<mail>
<update>
<set>
<filter>
<site-id>$id_server_site</site-id>
<mailname>
<name>$account_name</name>
<mailbox>
<enabled>true</enabled>
<quota>$new_quota</quota>
</mailbox>
</mailname>
</filter>
</set>
</update>
</mail>
</packet>
EOF;

$response = $client->request($request);
 
Back
Top