Send Page Section By E-mail

This server behavior allows the site developer to send a page section (after previously selecting the section) by e-mail and then redirect to another URL.

This server behavior is accessible from the Application panel, Server Behaviors -> + -> MX Kollection -> Send E-mail -> Send Page Section By E-mail.

The user interface is divided into two or three tabs, depending on the MX Kollection 3 version you have installed. Directions about their correct configuration are given below.

 

To set the dialog box options for this tab, follow the next steps:

  1. In the From text box enter the administrator's/sender's e-mail address. The default option is the one set in your e-mail settings. If you haven't edited it in the InterAKT Control Panel, then your sender's address is nobody@nobody.com. You can use the InterAKT Dynamic Data feature to input dynamic data in the corresponding field.

    Note:
    If you used a certain sender in your From field and later on apply the same server behavior, wanting to go back to the default sender, type in the From text box: {KT_defaultSender} (you will notice that your previous choice will be displayed there due to the user interface persistence). Learn more about the InterAKT mark-up language by reading the description given here.
  2. In the To text box enter the e-mail address to which you want the message sent. You can also input dynamic data in that text box.
  3. In the Subject text box type the title or subject of the e-mail message. Once again, the InterAKT Dynamic Data feature is available for you.
  4. In the Redirect to page text box enter the page to be opened after the message is sent or click the Browse button to select a page.
  5. The three buttons in the top right corner of the interface offer you the next functionalities:
    · Click OK when you are done configuring the server behavior.
    · Click Cancel to exit without applying the new settings.
    · The Help button opens this help page.
    These buttons are common to both tabs of the Send Page Section By E-mail server behavior interface.
  6. Click on the Options tab to continue with configuring the server behavior.

 

 

For instructions on completing this step, see the Options tab.

 

The Attachments tab

This third tab is available only if you have MX Kollection 3 Professional installed. It allows you to define what files to send together with the e-mail message.

 

 

Configure the user interface options as shown below:

  1. The Attachments grid displays all of the attachment rules defined for the current server behavior. You can add and remove attachments by using the Plus (+) and Minus (-) buttons on top of the grid. Fill in each rule's options by selecting it in the grid and filling in the fields below.

  2. In the Folder field enter the relative path to the folder storing the file(s) you wish to send. You can use the Browse button to select the folder from the site structure. The path to the folder will be displayed relative to the current document.

  3. In the Recordset drop-down menu select the page recordset to use to retrieve the file name.

  4. In the Field drop-down menu select which of the recordset field stores the file name. If not using a recordset, or using a custom naming, select the None: Rename rule option.

  5. In the Renaming rule text field enter the name of the file to attach. This field is enabled only when using the Rename rule option, and allows you to enter static and dynamic data which will compose the name of the file. You can either enter InterAKT Mark-up directly or use the InterAKT Dynamic Data icon to visually select it.