Simple Command Processor |
Script name: command.asp
This script implements some of the functionality of the FTGate V2 command processor.
To use it:
To use it create a Robot mailbox called command,
Go to Mailboxes|command|Options,
Enter command.asp in the edit field,
Click the button.
To use the command processor messages are sent to the mailbox. The message body is processed by the script. There are two modes of access to the command processor:
This mode allows a user to configure a mailbox. The user must know the mailbox name and password, and make the first command they send:
open mailbox mailboxname,password
followed by the appropriate commands for the mailbox type.
This mode allows a user who knows the administrator password to administer any mailbox without having to know the mailbox password. To enter this mode the first command sent should be:
administrator password
The user can now administer any mailbox by specifying:
open mailbox mailboxname
followed by the appropriate commands for the mailbox type, e.g.
administrator password
open mailbox customers, banana
The only mailbox commands supported by the script are subscribe and unsubscribe for list mailboxes. The format for subscribing a member is:
subscribe address[, name]
where address is the email address of the member, and name is the, optional, name for the email address owner. To unsubscribe someone the command is:
unsubscribe address