Views: 915 (Data available since 06.02.2017)
Last Modified: 10.10.2012

The process of managing automatic newsletters includes the following actions:

  • creating a newsletter category (rubric);
  • configuring the issue generation and send parameters;
  • creating the subscription front-end.
As an example, we shall create the Company News automatic subscription. Open the Newsletter categories page (Services -> Newsletter -> Newsletter categories). Click Add on the context toolbar.
  1. To enable issues to be generated and sent automatically, check the Automatic box:

    Click on image to enlarge

  2. After that, the Automatic generation tab becomes enabled:

    Click on image to enlarge

    The following parameters can be set in this tab:

    • schedule according to which subscription issues will be generated and sent;
    • template that will be used to generate the subscription issues. The template defines the message appearance and content;
    • address that will be put in the From field of all messages. If you omit this field, the address specified in the module settings will be used by default (Settings -> System settings -> Module settings -> Newsletter):

      Click on image to enlarge

      If the field marked with the asterisk (*) is empty, the From field will use the address specified in the Kernel module settings.

Before you save the new subscription parameters, you can view an example of issue generated using the specified template just as it will be displayed to subscribers.

To view how an issue of your new subscription will look, click the Check button on the context toolbar:

Click on image to enlarge

Clicking this button opens a page in which you can specify the template check parameters. After all parameters are set, click Check to generate the sample issue.

Click on image to enlarge

In the end, you will see the following form:

Click on image to enlarge

This form shows:

  • input template parameters (1*);
  • the message just as it will be displayed to subscribers (2*).

    Note: if a message contains dynamic data (e.g. news selection), the sample message will display the selection for the period between the last and next newsletter issue creation.

  • issue parameters (3*).
Note: this form shows the Add newsletter issue button. You can click it to save an issue that were generated using the selected template, and then send it later manually.

Click on image to enlarge

Click the Edit button on the context toolbar to get back to configuring the new newsletter category.

Save the new newsletter rubric by clicking Save (or Apply). From now on, issues of the new subscription will be sent to subscribers according to the specified schedule.

You may want to change the message generation template. To do so:
  1. Click the template name link.

    Click on image to enlarge

  2. Then, open the template for editing in the Site Explorer form.

    Click on image to enlarge

  3. Now you can edit the template by adding static (e.g. title) or dynamic information (e.g. scripts or visual components) to it.

    Click on image to enlarge

Automatic newsletters can be published for user subscription in the same way as manual newsletters.



Courses developed by «Bitrix», Inc.