mailTo
Sends an email and opens the device's email programm for this purpose.
Field Configurations
Key | Type | Description | Default Value |
---|---|---|---|
"params" (required) | Object | undefined | null |
Parameters
Key | Type | Description | Default Value |
---|---|---|---|
"async" | Boolean | Specifies whether the action should perform asynchronously. | null |
"bcc" | String | Email address for a blind copy. | null |
"cc" | String | Email adress for a copy. | null |
"content" (required) | String | Content of the email. | null |
"subject" | String | Subject of the email. | null |
"to" (required) | String | Email address of the receiver. | null |
Inherited
From Base Action
Base Action
Field Configurations
Key | Type | Description | Default Value |
---|---|---|---|
"dynamicParams" | Object | Dynamic params to retrieve data from a specific context e.g. a userSetting. | null |
"leadingDelimiter" | String | The leading mustache delimiter to use. | null |
"params" | Object,Array | Object containing the properties of the action. | null |
"trailingDelimiter" | String | The trailing mustache delimiter to use. | null |
"type" | String | Type name of the action. | null |
Examples
Example 1: Send an email
Goal: Create a mailTo action sending an email with cc and bcc.
The to
, cc
and bcc
parameters contain the corresponding email adresses.
{
"type": "mailTo",
"params": {
"to": "test@fabrik19.de",
"cc": "copy@fabrik19.de",
"bcc": "bcc@fabrik19.de",
"subject": "This is a test mail",
"content": "<h1>This is a test mail</h1>With some content."
}
}
The subject
and content
parameters specify the subject and content of the email respectively.
Result:
A mailTo action has been created.