Mail Account Settings

Mail account settings are specified by complex type mailnameUpdateType, mailnameAddType, mailnameUpdateAddType in file plesk_mailname.xsd. These types are used for different operations on mail boxes. The mailnameUpdateType type contains the majority of the nodes shared among these types. Its presentation is as follows:

 

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

<packet>
<mail>
<create>
   <filter>
      <site-id>12</site-id>
      <mailname>
          <name>bfischer</name>
          <mailbox>
              <enabled>true</enabled>
              <quota>10485760</quota>
          </mailbox>
          <alias>bob</alias>
          <antivir>true</antivir>
      </mailname>
   </filter>
</create>
</mail>
</packet>

 

The mailnameAddType fields are the subset of mailnameUpdateType. It looks as follows:

The mailnameUpdateAddType complex type also does not have type-specific nodes, and it has the following representation:

mailname-upd-add

Next in this section:

Mail Box Settings

Forwarding Settings

Automatic Response Settings