get message

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

get message v15.0.1

Reads a sent message back from mssgs mail: its status (queued, sent, failed, bounced), attempts and error.

In pins 2 + flow
  • flow
    flow
  • connection required
    mssgsmailconnection
  • message guid required
    value

    The message_guid a send block returned.

Out pins 4 + flow
  • 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.

  • message
    object

    The stored message document.

GET email/messages/:guid. Returns the stored outbound message for the API key's domain only; error NOT_FOUND otherwise. status is queued → sent | failed, or bounced once a DSN came back. A masked message reads [masked] for subject, html and text. Timestamps are epoch SECONDS. Suppressed in a simulation.

mssgsmail
mssgs mail
email
status

A typical wiring for get message: a function trigger starts the flow; open connection feeds the connection pin; value feeds the guid pin; the flow out pin feeds debug.

Studio canvas example for the get message block: typical wiring for get message.

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