Table of Contents

Send Admin Message

It is possible for administrator users to send a bulk email message to an entire group or list.

To begin composing an email, go to the Administration Settings → Users page, and click Send Admin Message.

This should then open a window, which allows you to specify various options.

Keywords

Keywords can be placed into the message content, which will provide an individual value for each recipient (e.g. {username} will ensure each user's message contains their own username).

Using Lua

On of the options of this facility lets you specify a Lua script in the message to send. This script lets you customise the message for each user.

See the Lua scripting page for details on the VPOP3 Lua implementation.

When a Lua script in the administrator message is run, it has certain global variables set:

(The variable names are case sensitive)

Anything that the script 'prints' gets sent to the user

An example Lua script used in the message sending facility might be

{lua}
if MailboxQuota ~= 0 then
  print ("You are currently using " .. MailboxSize .. " bytes of your allowed " .. MailboxQuota .. " bytes in your mailbox")
end
{/lua}

If the Lua script sets the global variable 'DontSend' (case sensitive) to '1' then VPOP3 won't send the message to this particular user.