Survey Email Notifications
Community Surveys has a built-in system to send email notifications to the users at various scenarios which is explained below.
The following are a few sample cases where you may need to send an email notification to the users.
- Send a thank you message to the user who responded to your survey
- When someone responded to your survey, you want to get a notification
- If you allow your users to create surveys from front-end, you need notification when they create surveys
- You want some dedicated persons to get the notification when users respond to your survey
These are some use-cases of notification emails. Here is how you can configure the notification emails.
Content of the email notifications
The content of the email notifications can be customized from the administrator menu item Components -> Community Surveys -> Email Templates. You can create the duplicate of the bundled email template and customize it for a different language. The template is automatically picked up based on the front-end language of the user. For example, if the user is taking a survey from a French language page of your site, and you have a template customized for the French language, the user will get notification by taking the content from French language template. Please note that your site must be configured to support multi-language as required by Joomla! to allow multi-language templates. Otherwise, the default English language template will be used.
Customize who will get the notifications
You can customize the email notification recipients at multiple places.
Survey Level Recipients List
Edit your survey and go to Basic Options tab. Here you can enter multiple name/email id combinations to send emails to individual email ids. The email ids entered here need not be a registered user email id. This option is applicable for notifying new responses.
Global Notification Email IDs List
Go to Extensions -> Plugins -> "Community Surveys - Surveys" plugin and click on the Emails tab. Here you can enter individual email ids for both new responses and new surveys. The entered email ids will receive the notifications. The email ids need not be registered email ids on your site.
Notification to users in a Joomla! User Group
You can send the email notifications to the users in a user group. Go to Extensions -> Plugins and search for "Community Surveys - Surveys" plugin and edit the plugin. Go to Emails tab of the plugin options. Here you can select the user group to send notifications for new responses as well as new surveys.
Most of the websites send hundreds of emails per hour but your host may not support so many emails sent simultaneously. To avoid such issues, the emails are queued in CjLib component mail queue and send them in a controlled manner. The manual Cronjob is used by default which will be triggered when someone is visiting your front-end page such as surveys listing, survey response page etc. If you wish to configure automatic cronjob, you can do so and the emails will be sent automatically at the intervals specified by you. See below documentation for the same.