User Tools

Site Tools


reference:autoresponder_script

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
reference:autoresponder_script [2014/08/26 13:37] – created paulreference:autoresponder_script [2025/05/28 10:24] (current) paul
Line 1: Line 1:
 ======Autoresponder scripting====== ======Autoresponder scripting======
 +
 +For scripting to alter the whole autoresponder definition and set in the VPOP3 settings rather than embedded in an autoresponder itself, see [[Autoresponder Global Script|Autoresponder Global Scripting]]
  
 In an autoresponder, you can create a Lua script by surrounding it with <lua> & </lua> tags, eg In an autoresponder, you can create a Lua script by surrounding it with <lua> & </lua> tags, eg
Line 22: Line 24:
 If there are multiple <lua> segments in an autoresponder, they are processed from the top down, and the Autoresponder variable one sees is the affected by the previous ones. If there are multiple <lua> segments in an autoresponder, they are processed from the top down, and the Autoresponder variable one sees is the affected by the previous ones.
  
 +The **print** output of the Lua script gets written to the autoresponse.
 ====Autoresponder Definition==== ====Autoresponder Definition====
 The Autoresponder global variable is a table with the following fields: The Autoresponder global variable is a table with the following fields:
reference/autoresponder_script.1409056654.txt.gz · Last modified: 2018/11/14 10:44 (external edit)