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 enabled node is required. It enables the redirect feature for a particular mail account. Data type: boolean. Default value: false.
- The address node is optional. It holds an email address to which the correspondence will be redirected. Data type: string.
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>