get template
This block is part of the mssgs mail group and was last modified in core v15.0.1.
get template v15.0.1 Reads one template stored on mssgs mail for this sender domain.
In pins 2 + flow
- flow
flow - connection required
mssgsmailconnection - template alias required
valueThe alias the template was saved under.
Out pins 4 + flow
- flow
flow - connection
mssgsmailconnection - success
condition - error
valueThe refusal as
CODE: message, e.g.RECIPIENT_SUPPRESSED,DOMAIN_CEILING,INVALID_FROM,INVALID_API_KEY. Empty on success. - template
objectThe template document.
GET email/templates/:alias. Returns {alias, name, subject, html, text} for the API key's domain; error TEMPLATE_NOT_FOUND otherwise. Suppressed in a simulation.
mssgsmail |
mssgs mail |
email |
template |
A typical wiring for get template: a function trigger starts the flow; open connection feeds the connection pin; value feeds the alias pin; the flow out pin feeds debug.
Version history
Introduced in v15.0.1.
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 