You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 8 Next »
This server class provides methods for printing out from a mail script to the message.
This method returns the string from the message body.
Return:
Example:
(function runNotificationScript( /* SimpleRecord */ current, /* SimpleTemplatePrinter */ template, /* SimpleEmailOutbound */ email, /* SimpleRecord */ event ) { template.getPrint(); })(current, template, email, event);
This message return the spaces number in the message body,
(function runNotificationScript( /* SimpleRecord */ current, /* SimpleTemplatePrinter */ template, /* SimpleEmailOutbound */ email, /* SimpleRecord */ event ) { template.getSpace(); })(current, template, email, event);
Prints the text string to the message body.
Parameter(s):
(function runNotificationScript( /* SimpleRecord */ current, /* SimpleTemplatePrinter */ template, /* SimpleEmailOutbound */ email, /* SimpleRecord */ event ) { template.print(“SimpleOne”); })(current, template, email, event);
This method adds non-breaking spaces to the message body
(function runNotificationScript( /* SimpleRecord */ current, /* SimpleTemplatePrinter */ template, /* SimpleEmailOutbound */ email, /* SimpleRecord */ event ) { template.space(3); })(current, template, email, event);