Setup email notifications for form responses

The Sitefinity CMS Forms module can send notifications to website users and administrators. For example, your website administrator might want to receive a notification each time a response to a form is submitted. To enable Sitefinity CMS to send Forms email notifications, you must configure the Forms module notifications settings by following these steps:

  1. Enable notification for forms.
    Perform the following:
    1. In the main menu, click Administration » Settings » Advanced.
    2. In the treeview on the left, click Forms » Notifications.
    3. Select the Enable notifications checkbox. 
    4. In SenderProfile, enter the profile name that you selected above (by default this is the Default profile).
    5. Click Save changes.
  2. Configure a Notification profile for sending emails
    By default, if you have configured the Sitefinity CMS email settings, the Forms module will send notifications using the default notification profile. For more information about configuring Sitefinity email settings, see Administration: Configure email settings.  If you want to explicitly specify a notification profile for the Forms module (for example a profile different that the default one), perform these steps: 
    1.  In the SenderProfile textbox type the name of the notification profile you want to be used to send emails for the Forms module. If you do not fill in a name explicitly, the Default notification profile will be used. For more information about Sitefinity CMS notification profiles, see Administration: Configure notification profiles.
    2.  Click Save changes
  3. You subscribe yourself (the currently logged user) for forms notification, in one of the following ways:
    • In the Forms grid
      1. In the main menu, click Content » Forms.
      2. Click the Actions link of the form, which responses you want to subscribe to.
      3. In the dropdown menu, click Subscribe.
    • In form’s editing mode
      1. In the main menu, click Content » Forms.
      2. Click the form, which you want to subscribe to.
      3. In the right of the toolbar, click Settings.
      4. Under Send email notification for responses to..., select My email address.
      5. Click Publish.
  4. You subscribe other users for form responses, in the following way:
    1. In the main menu, click Content » Forms.
    2. Click the form, which you want to subscribe users for.
    3. In the right of the toolbar, click Settings.
    4. Under Send email notification for responses to..., select List of email addresses...
    5. Enter the email addresses of the users that you want to subscribe.
      Enter each email address on a new line.
    6. Click Publish.

The subscribed users will receive email notification whenever a response is submitted to a form.

Send form response details in the notification email

When sending the form response notification email, Sitefinity CMS includes system information such as the project name, website URL, form title, submission IP Address and timestamp, and so on. Additionally, you can instruct Sitefinity to include the form response details in the notification email. This way all form field values of the submitted response are included in the message body. By default the notification email includes both the system information and the form response details. You can control this behavior and specify whether you want to exclude or include the form response details. To change the default behavior follow these steps:

  1. In the main menu, click Administration » Settings » Advanced.
  2. In the treeview on the left, click Forms » Notifications.
  3. Deselect the Include a copy of the submitted information in the notification message checkbox.

    NOTE: By default this checkbox is enabled and the form response details are included

  4. Click Save changes

 

Was this article helpful?