This section covers the Spooling properties page:
Property |
Description |
Spool path |
Defines the path to the spool (temporary) folder. |
Spool script |
Defines the path to any script you wish to run on the items routed to the spool folder, e.g. you wish to add a disclaimer to the bottom of all outgoing messages. A script in the spool folder could achieve this.
Scripts should be placed in the Script library folder. Enter the name of the script into this field, e.g. spool.fts.
If the script file is in a different folder/location, the full path to it should be defined.
Clicking the 'Script Edit' button changes to the Script Edit page where you can edit the script. If you are creating a new script then the text area contains the opening and closing script markers: "<%" and "%>".
You can pass request attributes to the script by entering them on the script line, e.g. to modify the maximum number of recipients in the splitmail.fts script to be 25 you would enter splitmail.fts?max=25 as the script. To pass multiple attributes you separate subsequent ones with “&”, e.g. example.fts?min=10&max=20&type=1. Within the script refers to the values in the second example with request.min, request.max and request.type. |
Spooling is the process of moving messages around within the Server. The internal component that carries out the spooling is the Spooler. Internal messages are routed via the spooler, as are messages from a group or list mailbox.
When a single message is sent to a list or group mailbox, the mailbox generates a message with an envelope entry for each member of that list or group. The message is then passed into the spooler, where the recipients copy of the message is processed and sent out. The list of recipients in the envelope of the message is reduced with each message sent.
A script can be run within the Spooler area to change the way the Server processes the messages within the spooler.
Messages sent via a program are processed by the spooler. For more information on how to send a message from a program to the Server see the topic Sending a Message from a Program in the Knowledgebase.