TemplatePrinter - Scoped

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 1분
  • 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.

    표 1. Parameters
    Name Type Description
    string String String to print.
    표 2. Returns
    Type Description
    void
    template.print("Incident number - " + current.number + "\n");

    TemplatePrinter - space(Number spaces)

    Adds non-breaking spaces to the email body.

    표 3. Parameters
    Name Type Description
    spaces Number Number of non-breaking spaces to output to the email body.
    표 4. Returns
    Type Description
    void
    template.space(4);