MailOperator

This is not a command as such but a script component. It is located in the sub-directory System Library of the directory Scripts in the ITPWork folder. This script is part of the ITP/Server installation and should not be altered.

This script sends an error message by e-mail to an operator or a user. It may be useful to install this script as an error handler, refer to the command OnError for more information.

Usage

Add the following settings to the Constants tab of the Services in the Administrator. These settings are all required:

TmpDir    <the temporary directory>
Operator  <operator e-mail address. This address will be used if
the recipient address is omitted in the command MailOperator.>
SMTP_host <Name of the host that runs the e-mail server>
ITPDS     <E-mail address that will be listed as the sender of the
message. This address must be auhorised to send e-mail
through the SMTP_host server.>

Add to your script:

MailOperator
Recipient(<e-mail address string>);
Parameters

Recipient: Optional.
The e-mail address of the person who will receive the error message.

If this parameter is not specified the e-mail will be sent to the e-mail address Operator that has been defined on the tab Constants of the Services in the Administrator.