• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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