Forwarding Settings

Mail account can forward all incoming correspondence to a specified e-mail address. To enable the forward feature for a particular mail account, request packet should contain the forwarding node within the mailname parent node.

The forwarding node does not have a special data type, it is defined within the parent node as follows:

 

The following sample packet creates a mail account, and makes it redirect all incoming messages to techdept@example.com:

<packet>
<mail>
<create>
   <filter>
      <site-id>12</site-id>
      <mailname>
          <name>bfischer</name>
          <forwarding>
              <enabled>true</enabled>
              <address>techdept@example.com</address>
          </forwarding>
      </mailname>
   </filter>
</create>
</mail>
</packet>