Actions

BeforeTokenEmail

From LimeSurvey Manual

Revision as of 11:42, 7 April 2014 by Mazi (talk | contribs) (minor corrections)
 Hint: This features is available starting in version 2.05 build 140404


Usage

This event can be used each time a token is send by the admin user via the Limesurvey admin panel.

Input

The event receives the following information:

  • type : Email type(remind, invite)
  • subject : Email subject
  • to : Recipient(s)
  • body : Email body content
  • from : Sender(s)
  • token : Raw token data


Possible output

The following information can be set in the event:

  • subject : Email subject
  • to : Recipient(s)
  • body : Email body content
  • from : Sender(s)
  • send : If true Limesurvey will send the email. Setting this to false will cause Limesurvey to assume the mail has been sent by the plugin.
  • error : If set and "send" is true, log the error as failed email attempt.