Previous Topic: priorityNext Topic: cc


to

Adds recipients to the message’s To field.

The value of the _to variable is a JavaScript string. Multiple recipients are permitted, but the string must conform to JavaScript syntax, as shown in the following example.

Methods: None.

Example:

<% 
_to =
_util.getNotifiers("USER") + ',' +
_util.getNotifiers("USER_MANAGER","ManagerLookup=managerattribute");
_cc = "" ;
_bcc = "" ;
_subject = "Your new password ";
%>

Note: When emails alert participants that a task is in a Pending state and under workflow control, the _to object is pre-populated with the addresses of the participants. You cannot use the _to object in a Pending template.