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>
 

Leave your comments on this page

Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.