Automatic Response Settings

The automatic response settings are specified for each mail account by the list of autoresponder objects. An autoresponder object is a collection of conditions (events) on which the automatic response message is sent back. In addition, this object specifies the text of this response and the attachment (a file stored in the a mail box repository). Finally, it can specify how this automatic response will act.

The autoresponder node does not have a special data type. It is structured within the autoresponders node as follows:

 

The following sample packet creates a mail account and specifies autoresponder settings for it:

<packet>
<mail>
<create>
   <filter>
      <site-id>123</site-id>
      <mailname>
          <autoresponder>
              <enabled>true</enabled>
              <subject>Regarding controllers</subject>
              <text>Your answer will be processed in the nearest 10 days. Thank you.</text>
              <forward>techdept@technolux.co.uk</forward>
              <end_date>2015-12-31</end_date>
          </autoresponder>
      </mailname>
   </filter>
</create>
</mail>
</packet>