Populate List Mailbox

 

Script name: listadd.fts

 

This script enables you to populate a list mailbox with members from a file. The script takes a parameter 'file' which is the full pathname of a text file. The first line of the file must be the list mailbox to add the members to, and the remaining lines are the email address and name of the list members separated by a comma. If there is no name for the email address then a line with just the email address on it will do.

 

E.g.

list@local.com

fred@blogs.com, freddie

some@one.co.uk

a.nother@isp.com, andy nother, SysAdmin

 

This list will add the three members to the list:

fred@blogs.com with the name "freddie"

some@one.co.uk with a blank name field

a.nother@isp.com, with the name "andy nother, SysAdmin"

Parameters

Property

Description

file (required)

The path and filename for the file defined abaove.

Example Usage

Create a file called list.txt in the form given above and then enter the following line in your browser:

 

http://127.0.0.1:8089/scriptlib/listadd.fts?file=list.txt