You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

This server class provides methods for printing out from a mail script to the message.

getPrint()



Return:

TypeDescription
String


Example:


getSpace()

Method description


Parameter(s):

NameTypeMandatoryDefault Value





Return:

TypeDescription



Example:


print(string)

Prints the text string to the message body.


Parameter(s):

NameTypeMandatoryDefault Value
stringStringYN


Return:

TypeDescription
VoidThis method does not return a value.


Example:

print
(function runNotificationScript(
/* SimpleRecord */ current,
/* SimpleTemplatePrinter */ template,
/* SimpleEmailOutbound */ email,
/* SimpleRecord */ event
) {
template.print(“SimpleOne”);
})(current, template, email, event);

space(spaces)

This method adds non-breaking spaces to the message body


Parameter(s):

NameTypeMandatoryDefault Value
spacesIntegerYN


Return:

TypeDescription
VoidThis method does not return a value.


Example:

space
(function runNotificationScript(
    /* SimpleRecord */ current, 
    /* SimpleTemplatePrinter */ template,
    /* SimpleEmailOutbound */ email,
    /* SimpleRecord */ event
    ) {
template.space(3);
})(current, template, email, event);

  • No labels