• 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

API - Parser error: Request is invalid

W

WallyB

Guest
Hi;

I'm using the API to try to create an email account for a domain on the Plesk 8.4 server; however, after following the information in the Manual, I get errcode 1014 and the above error text.

I'm following the mail create formatting precisely as described from page 669 of the manual; however it only seems to balk at certain elements:

Code:
  $redirect = $xmldoc->createElement('redirect');
  $mailname->appendChild($redirect);
  $redirect->appendChild($xmldoc->createElement('enabled', 'true'));
  $redirect->appendChild($xmldoc->createElement('address', $redirect_address));

Adding any of this to the DomDocument, although it shows a perfect XML formatted base, returns the error.

I'm using version 1.5.2.0.

Are there certain elements that are still unable to be used within 8.4 and I need to upgrade in order to access these functions?
 
A follow-up... it seems that the redirect node (as well as others) only work in a mail->update->add structure and not a mail->create... is this something that's a known problem with the API?
 
Back
Top