This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
reference:outgoing_message_script [2015/02/10 10:17] – created paul | reference:outgoing_message_script [2023/11/06 10:59] – paul | ||
---|---|---|---|
Line 3: | Line 3: | ||
Scripts are stored as files in the VPOP3 directory in VPOP3 v6.6 and earlier, or managed through the Settings -> Scripts page in VPOP3 v6.7 and later. | Scripts are stored as files in the VPOP3 directory in VPOP3 v6.6 and earlier, or managed through the Settings -> Scripts page in VPOP3 v6.7 and later. | ||
+ | |||
+ | See the [[Lua Scripting]] page for general details about VPOP3' | ||
=====Messages to be sent===== | =====Messages to be sent===== | ||
Line 21: | Line 23: | ||
* HoldSeconds - The current number of seconds the message will be held before being sent (0 = no time). | * HoldSeconds - The current number of seconds the message will be held before being sent (0 = no time). | ||
* DeleteAfterSeconds - The current number of seconds before the message will be deleted from the queue (0 = never). | * DeleteAfterSeconds - The current number of seconds before the message will be deleted from the queue (0 = never). | ||
+ | * HoldTimeFromSender - The ISO-8601 time to hold to as defined at message send time (eg by ' | ||
+ | * DeleteTimeFromSender - The ISO-8601 time to delete the message at as defined at message send time (added in v8.7) | ||
The function returns a table of new settings. This can contain the following fields. If the field doesn' | The function returns a table of new settings. This can contain the following fields. If the field doesn' |