Actions

BeforeTokenEmail

From LimeSurvey Manual

Revision as of 16:34, 5 April 2014 by DenisChenu (talk | contribs) (Created page with "{{FeatureStarting|2.06}} '''When''' Each time a token is send my admin user with the admin panel. '''Input''' The event receives the following information: * type : Email...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 Hint: This features is available starting in version 2.06


When

Each time a token is send my admin user with the admin panel.

Input

The event receives the following information:

  • type : Email type sended (remind, invite)
  • subject : Subject line
  • 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 : Subject line
  • 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.