postmark.send

type: meya.postmark.component.send
class: PostmarkSendComponent
path: /meya/postmark/component/send.py
signature: -

Learn more: https://postmarkapp.com/developer/api/email-api#send-a-single-email

Fields

field

signature

required

type

default

description               

spec

ForwardRef('Spec')

null

Override the original spec for this element

context

dict

{}

Send context data with this component's event

sensitive

bool

true

triggers

list

[]

Activate these dynamic triggers when the component runs

from

Recipient

to

list

cc

list

[]

bcc

list

[]

subject

str

null

text

str

null

html

str

null

headers

dict

null

wait_for_response

bool

true

integration

PostmarkIntegrationRef

tag

str

null

reply_to

str

null

track_opens

bool

null

track_links

TrackLinks

null

metadata

dict

null

attachments

list

null

message_stream

str

null

Examples

Basic

triggers:
  - keyword: meya.postmark.component.send
steps:
  - type: meya.postmark.component.send
    from:
      email: STRING
    to:
      - email: STRING
    integration: integration.postmark

Full

triggers:
  - keyword: meya.postmark.component.send
steps:
  - type: meya.postmark.component.send
    spec: '?'
    context:
      STRING: ANY
    sensitive: false
    triggers:
      - type: STRING
        data:
          STRING: ANY
        timeout: 123
        trigger_when: ANY
    from:
      email: STRING
      name: STRING
    to:
      - email: STRING
        name: STRING
    cc:
      - email: STRING
        name: STRING
    bcc:
      - email: STRING
        name: STRING
    subject: STRING
    text: STRING
    html: STRING
    headers:
      foo: bar
    wait_for_response: false
    integration: integration.postmark
    tag: STRING
    reply_to: STRING
    track_opens: false
    track_links: None|HtmlAndText|HtmlOnly|TextOnly
    metadata:
      foo: bar
    attachments:
      - name: STRING
        content: STRING
        content_type: STRING
        content_id: STRING
    message_stream: STRING