Learn more: https://postmarkapp.com/developer/api/email-api#send-a-single-email
Element details
type: meya.postmark.component.send
class: PostmarkSendComponent
path: /meya/postmark/component/send.py
signature: -
Fields
field | description | required | signature | default | type |
---|---|---|---|---|---|
spec | Override the original spec for this element. | ○ | ○ | null | Spec |
context | Send context data with this component's event. | ○ | ○ | {} | dict |
sensitive | ○ | ○ | true | bool | |
triggers | Activate these dynamic triggers when the component runs. Check the component triggers guide for more info. | ○ | ○ | [] | list |
from | ◉ | ○ | Recipient | ||
to | ◉ | ○ | list | ||
cc | ○ | ○ | [] | list | |
bcc | ○ | ○ | [] | list | |
subject | ○ | ○ | null | str | |
text | ○ | ○ | null | str | |
html | ○ | ○ | null | str | |
headers | ○ | ○ | null | dict | |
wait_for_response | ○ | ○ | true | bool | |
integration | ◉ | ○ | PostmarkIntegrationRef | ||
tag | ○ | ○ | null | str | |
reply_to | ○ | ○ | null | str | |
track_opens | ○ | ○ | null | bool | |
track_links | ○ | ○ | null | TrackLinks | |
metadata | ○ | ○ | null | dict | |
attachments | ○ | ○ | null | list | |
message_stream | ○ | ○ | null | str | |
Usage reference
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:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
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