• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

No mailbox created

Mansi9

New Pleskian
$request = <<<EOF
<packet version="1.6.5.0">
<mail>
<create>
<filter>
<site-id>34</site-id>
<mailname>
<name>$username</name>
<mailbox>
<enabled>true</enabled>
<quota>1024000</quota>
</mailbox>
<forwarding>
<enabled>true</enabled>
<address>$pleskemail</address>
</forwarding>
<alias>$username</alias>
<autoresponder>
<enabled>true</enabled>
<forward>[email protected]</forward>
</autoresponder>
<password>
<value>$password</value>
<type>plain</type>
</password>
<antivir>inout</antivir>
</mailname>
</filter>
</create>
</mail>
</packet>
EOF;

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


I write this code for creating mail box, but I get "No mailbox" message in plesk panel. I need to create mailbox.

Looking forward for your help.

Thank you.
 
Back
Top