12.4.22.5   MAIL to

Description:   A valid email address that mail will be sent to, in a form like recipient@company.com

Syntax:

Tcl:              MAIL {to=recipient@mailserver.com}

JScript:        MAIL("to=recipient@mailserver.com");              

VB Script:      MAIL "to=recipient@mailserver.com" 
 
 

Argument:     "to=", valid email address
 

See Also:       MAIL, MAIL "cc=", MAIL "bcc="

 

Examples:      MAIL {to=webaccess@yourcompany.com}
MAIL "to=Supervisor1 <info@yourcompany.com>"

MAIL to=webaccess@yourcompany.com
MAIL {to=@tag2}

MAIL "to=$variable"

A valid email address should specify the email address that mail will be `TO', in a form like tcarter@yourcompany.com or -from "Tom Carter <tcarter@yourcompany.com>". The address is added to the "To:" header and to the list of recipients.

Must be specified before each MAIL "send" command. MAIL "send" clears the buffer of any previous MAIL "to=" entry.