Hi,
following this documentation it should be able to de/activate Webmail and Greylisting with the API:
Mail Service Preferences
So this should work:
<packet> <mail> <set_prefs> <filter> <site-id>1</site-id> </filter> <prefs> <greylisting>true</greylisting> <webmail>none</webmail> <mailservice>true</mailservice> </prefs> </set_prefs> </mail> </packet>
But I get an error:
Parser error: Request is invalid. Error in line 13: Element 'webmail': This element is not expected. Expected is one of ( mailservice, ip_address, mail-provider, webmail-certificate ).
Anybody any ideas? It it an bug?
Thanks in advance!
Cheers Chris.
following this documentation it should be able to de/activate Webmail and Greylisting with the API:
Mail Service Preferences
So this should work:
<packet> <mail> <set_prefs> <filter> <site-id>1</site-id> </filter> <prefs> <greylisting>true</greylisting> <webmail>none</webmail> <mailservice>true</mailservice> </prefs> </set_prefs> </mail> </packet>
But I get an error:
Parser error: Request is invalid. Error in line 13: Element 'webmail': This element is not expected. Expected is one of ( mailservice, ip_address, mail-provider, webmail-certificate ).
Anybody any ideas? It it an bug?
Thanks in advance!
Cheers Chris.