Join/Leave List

 

Script name: joinleave.fts

 

This script can be used to add and remove people from a list mailbox depending on a message sent to a mailbox. It must be used as a robot script.

Parameters

Property

Description

join (required)

Set to 1 to add a member to a list, otherwise set to 0 to remove a member.

domain (required)

The name of the domain containing the list mailbox

list (required)

The name of the list mailbox

Example Usage

  1. To use it create a Robot mailbox (e.g. joinlist)

  2. Go to Mailboxes|joinlist|Options.

  3. Enter joinleave.fts?join=1&list=listname&domain=localdomain in the edit field, where listname is the name of the list to add the sender to and localdomain is the name of the local domain containing the list mailbox.

  4. Click the button.

  5. To use it create a Robot mailbox (e.g. leavelist)

  6. Go to Mailboxes|leavelist|Options.

  7. Enter joinleave.fts?join=0&list=listname&domain=localdomain in the edit field, where listname is the name of the list to remove the sender from and localdomain is the name of the local domain containing the list mailbox.

  8. Click the button.

 

Now messages sent to the joinlist mailbox will add the sender to the list, and messages sent to leavelist will remove the sender from the list.