Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
his This server class provides methods for printing out from a mail script to the message.
print(string)
Prints the text string to the message body.
Parameter(s):
Name | Type | Mandatory | Default Value |
---|---|---|---|
string | String | Y | N |
Return:
Type | Description |
---|---|
Void | This method does not return a value. |
Example:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
(function runNotificationScript( /* SimpleRecord */ current, /* SimpleTemplatePrinter */ template, /* SimpleEmailOutbound */ email, /* SimpleRecord */ event ) { template.print(“SimpleOne”); })(current, template, email, event); |
getPrint()
Return:
Type | Description |
---|---|
String |
Example:
Code Block |
---|
space(spaces)
This method adds non-breaking spaces to the message body
Parameter(s):
Name | Type | Mandatory | Default Value |
---|---|---|---|
spaces | Integer | Y | N |
Return:
Type | Description |
---|---|
Void | This method does not return a value. |
Example:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
(function runNotificationScript(
/* SimpleRecord */ current,
/* SimpleTemplatePrinter */ template,
/* SimpleEmailOutbound */ email,
/* SimpleRecord */ event
) {
template.space(3);
})(current, template, email, event); |
getSpace()
Method description
Parameter(s):
Name | Type | Mandatory | Default Value |
---|---|---|---|
Return:
Type | Description |
---|---|
Example:
Code Block |
---|
Table of Contents | ||||
---|---|---|---|---|
|