Mail Account Settings

Mail account settings are specified by complex type mailnameType (plesk_mailname.xsd). It is structured as follows:

Note: This node is supported in API RPC 1.5.2.0 and later versions.

 

The following sample packet creates a mail account and sets a collection of settings for it:

<packet version="1.4.2.0">
<mail>
<create>
   <filter>
      <domain_id>12</domain_id>
      <mailname>
          <name>bfischer</name>
          <cp_access>
              <enabled>true</enabled>
          </cp_access>
          <mailbox>
              <enabled>true</enabled>
              <quota>10485760</quota>
          </mailbox>
          <alias>bob</alias>
          <antivir>true</antivir>
          <permissions>
              <cp_access>true</cp_access>
              <manage_drweb>true</manage_drweb>
              <manage_spamfilter>true</manage_spamfilter>
          </permissions>
      </mailname>
   </filter>
</create>
</mail>
</packet>

In this section:

Control Panel Settings

Mail Box Settings

Redirecting Settings

Mail Group Settings

Automatic Response Settings

Repository Settings

Mail User Permissions