list templates

This block is part of the mssgs mail group and was last modified in core v15.0.1.

list templates v15.0.1

Lists the templates stored on mssgs mail for this sender domain.

In pins 1 + flow
  • flow
  • connection mssgsmailconnection required
Out pins 5 + flow
  • flow
  • connection mssgsmailconnection
  • success condition
  • error value

    The refusal as CODE: message, e.g. RECIPIENT_SUPPRESSED, DOMAIN_CEILING, INVALID_FROM, INVALID_API_KEY. Empty on success.

  • templates array
  • response object

GET email/templates. `templates` is the list of {alias, name, subject} for the API key's domain, without bodies : read one with template_get. Empty list on failure; branch on success. Suppressed in a simulation.

mssgsmail
mssgs mail
email
template

A typical wiring for list templates: a function trigger starts the flow; open connection feeds the connection pin; the flow out pin feeds debug.

Studio canvas example for the list templates block: typical wiring for list templates.

Version history

Introduced in v15.0.1.

  • v15.0.1: block added in this release.

Back to mssgs mail Return to the main group to view all sub-groups Back to mssgs mail Return to the group to view all blocks within this group