You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 7 Next »
This server class contains methods that extract information from the mail script and print it in the message.
This method returns the strings from the message body that were produced by the print() method.
Return:
Example:
(function runNotificationScript( /* SimpleRecord */ current, /* SimpleTemplatePrinter */ template, /* SimpleEmailOutbound */ email, /* SimpleRecord */ event ) { template.getPrint(); })(current, template, email, event);
Use this message to return the number of spaces in the message body that were produced by the space(spaces) method.
(function runNotificationScript( /* SimpleRecord */ current, /* SimpleTemplatePrinter */ template, /* SimpleEmailOutbound */ email, /* SimpleRecord */ event ) { template.getSpace(); })(current, template, email, event);
This method inserts the text string into the message body.
Parameter(s):
(function runNotificationScript( /* SimpleRecord */ current, /* SimpleTemplatePrinter */ template, /* SimpleEmailOutbound */ email, /* SimpleRecord */ event ) { template.print('SimpleOne'); })(current, template, email, event);
Use this method to insert a sequence of spaces (one after another) in the message body.
(function runNotificationScript( /* SimpleRecord */ current, /* SimpleTemplatePrinter */ template, /* SimpleEmailOutbound */ email, /* SimpleRecord */ event ) { template.space(3); })(current, template, email, event);