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.

NOTE: If you want to promote email notification settings when you use the SiteSync module to promote content, you need to enable the SyncSubscribersList option in Administration » Settings » Advanced » SiteSync » Forms.

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.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?