Learn more: https://mandrillapp.com/api/docs/messages.JSON.html#method=send
Element details
type: meya.mandrill.component.send
class: MandrillSendComponent
path: /meya/mandrill/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 | ◉ | ○ | MandrillIntegrationRef | ||
Usage reference
Basic
triggers:
- keyword: meya.mandrill.component.send
steps:
- type: meya.mandrill.component.send
from:
email: STRING
to:
- email: STRING
integration: integration.mandrill
Full
triggers:
- keyword: meya.mandrill.component.send
steps:
- type: meya.mandrill.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.mandrill