Hi there,
I'm on psa v8.1.1_build81070423.15 os_CentOS 4.2 and i think i found a bug in plesks API when trying to set autoresponders
Even the sample code on http://download1.swsoft.com/Plesk/Plesk8.1/Doc/plesk-8.1-api-rpc/34492.htm doesn't work the way it should.
When i feed the API with the provided sample code, i get an 'OK'.
When i look in the controlpanel, it made the new mailname, there is an autoresponder, but it's not enabled and it has a red cross indicating an error.
So i think there's an error in the API. Tried all API versions. But no difference.
How to reproduce the bug?
Feed the API with the following XML:
Result: OK!
Login into plesk, go to the mailaccount and check the autoresponder-section.
- You'll see a red cross indicating an error next to the just made autoresponder.
- You can't enabled it.
- You can change the autoresponder settings but it still stays in error.
I've already made a bugreport, but no reply yet.
Can someone please try to feed this xml to your plesk api and tell me if you got the same problem?
I'm on psa v8.1.1_build81070423.15 os_CentOS 4.2 and i think i found a bug in plesks API when trying to set autoresponders
Even the sample code on http://download1.swsoft.com/Plesk/Plesk8.1/Doc/plesk-8.1-api-rpc/34492.htm doesn't work the way it should.
When i feed the API with the provided sample code, i get an 'OK'.
When i look in the controlpanel, it made the new mailname, there is an autoresponder, but it's not enabled and it has a red cross indicating an error.
So i think there's an error in the API. Tried all API versions. But no difference.
How to reproduce the bug?
Feed the API with the following XML:
Code:
<packet version="1.4.2.0">
<mail>
<create>
<filter>
<domain_id>123</domain_id>
<mailname>
<name>bfischer</name>
<autoresponders>
<enabled/>
<autoresponder>
<name>motorola</name>
<subject>Regarding controllers</subject>
<text>Your answer will be processed in the nearest 10 days. Thank you.</text>
<forward>techdept@technolux.co.uk</forward>
</autoresponder>
</autoresponders>
</mailname>
</filter>
</create>
</mail>
</packet>
Result: OK!
Login into plesk, go to the mailaccount and check the autoresponder-section.
- You'll see a red cross indicating an error next to the just made autoresponder.
- You can't enabled it.
- You can change the autoresponder settings but it still stays in error.
I've already made a bugreport, but no reply yet.
Can someone please try to feed this xml to your plesk api and tell me if you got the same problem?