Automatically send email invitations


Plus 19% VAT
Delivery Time: keine Lieferzeit (z.B. Download)

Script for automatically sending Limesurvey email invitations using a cronjob. Allows setting email batch sizes.

SKU: N/A Category:

When running lots of surveys, terminating and sending email invitations can cause quite some work. To make your life easier, we are offering this Limesurvey cronjob script for sending email invitations. It helps you to fully automate the process of sending survey invitations.

The script will send invitations to all participants with a valid token and email address. You can also set this Limesurvey cronjob script to automatically generate tokens before sending email invitations.
The tool sends invitation emails only for those active surveys the plugin is activated for. Of course, the invitation email is only sent once and only to those participants who have not finished the survey yet. Furthermore, it takes into account the survey’s start date (if set). The “valid from” and “valid until” dates are also checked for every participant.

Using this Limesurvey cronjob script will reduce the risk of your Limesurvey invitation emails being treated as spam. You can not only define how often the script is called. But you can also define how many emails should will be sent at every call by adjusting the batch size setting at survey level.

Installation of the Limesurvey cronjob script for sending email invitations

  • Firstly, download the plugin as ZIP file after payment. 
  • Limesurvey 3.x: Unzip all files. Then copy the “Inviter” folder to the Limesurvey “plugins” directory.
  • Limesurvey 5.x: Just upload the ZIP file at the plugin manager to install the plugin.
  • Activate the plugin at the Limesurvey plugin manager.
  • At any survey you can now activate the feature at the survey’s plugin settings.
  • Finally, set up the cronjob to automatically call the script every X minutes, hours or days. The script processes all surveys for which you activated the plugin.
    Depending on the way your provider is running cronjobs, try one of these commands:

    • php application/commands/console.php plugin –target=Inviter
    • php application/commands/console.php plugin index –target=Inviter
    • /usr/bin/php application/commands/console.php plugin –target=Inviter
  • The cronjob should be executed at least once a day. Cron tab setting for running it every night at 1 am: 0 1 * * * 

More information

Product Features

Limesurvey version

v3.x, v4.x, v5.x, v2.50 to v2.73.1, v2.05/2.06/2.6 LTS, v2.00

Recent updates:

2022-11-08 (Tested Limesurvey version 5.4.9):

  • 2.8.0: Added support for email attachments.

2022-10-26 (Tested Limesurvey version 5.4.8):

  • 2.7.2: Optimization for LS 5.x settings inheritance for HTML email setting
  • 2.7.1: Fixed issue with max batch size not being applied correctly

2022-09-30 (Tested Limesurvey version 5.3.4):

  • 2.7.0: New plugin events “reminderBeforeSendEmail” and “reminderEmailTexts” for easily extending plugin features
  • 2.6.0: Added advanced logging

2022-06-07 (Tested Limesurvey version 5.3.16):

  • 2.5.1 Added support for multiple email addresses
  • 2.5.0 Fixed token based placeholders
  • 2.4.1 Performance optimization

2021-12-20 (Tested Limesurvey version 5.2.x):

  • 2.4.0 Max batch size fix, show direct output on console

2021-12-10 (Tested Limesurvey version 5.2.x):

  • 2.3.2 Added additional information for plugin settings

2021-11-30 (Tested Limesurvey version 3.27):

  • 2.3.0 Send plain text email when `htmlemail` is off
  • 2.2.0 Added inviterAdjustDateTime function to take global setting into account
  • 2.1.0 Added codeception tests + plugin settings footer

2021-09-30 Release of script version 2.0 (Tested Limesurvey version 3.27):

  • New setting at survey level to define the maximum batch size or set the script to send all emails in one run.

2021-06-19 (Tested Limesurvey version 3.27):

  • Added Limesurvey 4.x and 5.x compatibility
  • New feature to add baseUrl automatically when  activating the plugin
  • New feature to start/stop script by cronjob
  • New feature to support Expression Manager syntax
  • Fix: Support @@SURVEYURL@@ placeholder within email texts
  • Fix: Check start and expiry date properly before sending emails
  • Fix: Do not send emails to participants without a token
  • New feature: Setting ignoreBatchMaxSize to ignore batch size set at global settings

2018-12-14 (Tested Limesurvey version 3.15.5+181115):

  • First release for Limesurvey 3.x


  • Fix for properly checking survey start and expiry date
  • Fix for correctly updating details at Central Participant Database (CPDB)


  • Include adjusted server setting for “invitation sent” timestamp


  • Added support for Limesurvey v2.50
  • Fixed optin/optout links within email texts


  • Added additional check to make sure each user has a valid token assigned


  • Improved batch size check to only send emails of a following survey if batch size was not reached