eworksmedia
New Pleskian
When creating a new subscription via the API (Plesk 12) is there a way to specify the Mail settings? More importantly is there a way to turn off Mail when setting up a new subscription? Each time I create a subscription via the API Plesk spits out the following error:
Here's an example of the request I'm sending:
Code:
New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainWebmail.php, error = Template_Exception: Empty content was provided for config file /etc/httpd/conf/plesk.conf.d/webmails/horde/demon3zxc.e-worksmedia.com_webmail.conf file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 47 code: 0.
Here's an example of the request I'm sending:
Code:
<packet version="1.6.3.0">
<webspace>
<add>
<gen_setup>
<name>{{domain}}</name>
<ip_address>{{ip_address}}</ip_address>
</gen_setup>
<hosting>
<vrt_hst>
<property>
<name>ftp_login</name>
<value>{{ftp_user}}</value>
</property>
<property>
<name>ftp_password</name>
<value>{{ftp_pass}}</value>
</property>
<property>
<name>seo-redirect</name>
<value>none</value>
</property>
<ip_address>{{ip_address}}</ip_address>
</vrt_hst>
</hosting>
<plan-name>Default Domain</plan-name>
</add>
</webspace>
</packet>