TemplatePrinter - Scoped
-
- UpdatedJan 30, 2025
- 1 minute read
- Yokohama
- API reference
The TemplatePrinter API provides methods to handle printing from a mail script to the email message.
There is no constructor for this API. The methods are called in mail scripts using the template global variable.
TemplatePrinter - print(String string)
Prints the string to the email body.
Name | Type | Description |
---|---|---|
string | String | String to print. |
Type | Description |
---|---|
void |
Example
TemplatePrinter - space(Number spaces)
Adds non-breaking spaces to the email body.
Name | Type | Description |
---|---|---|
spaces | Number | Number of non-breaking spaces to output to the email body. |
Type | Description |
---|---|
void |