• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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