sendFormMail
Presents the e-mail client in the corresponding platform with predefined subject, body, and recipients addresses. form
data of the current view can be used to construct the email body.
Field Configurations
Key | Type | Description | Default Value |
---|---|---|---|
"params" | Object | undefined | null |
Parameters
Key | Type | Description | Default Value |
---|---|---|---|
"async" | Boolean | Specifies whether the action should perform asynchronously. | null |
"bcc" | String | The recipient of the blind carbon copy (bcc) of the email. In order to send to multiple recipients seperate the email addresses using , . | null |
"body" | String | The body of the email. @@ must be used as template delimeter, if the email body should construct using the data from the form . | null |
"cc" | String | The recipient of the carbon copy (cc) of the email. In order to send to multiple recipients seperate the email addresses using , . | null |
"form" | String | If the form Name is provided, then the form data and attachment is used to construct the email body. | null |
"subject" | String | The subject of the email | null |
"to" | String | The recipient of the email. In order to send to multiple recipients seperate the email addresses using , . | 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: SendFormMail
Goal: Send an email using sendFormMail action
{
"type": "sendFormMail",
"params": {
"subject": "Meine Anfrage",
"body": "Bitte senden Sie mir einen Ausdruck von diesem Bild",
"to": "info@cewe.de"
}
}
Result:
A sendFormMail action has been created.
Example 2: SendFormMail using Form Data
Goal: Send an email using sendFormMail action and replace 'name' with form data
{
"type": "sendFormMail",
"params": {
"subject": "Meine Anfrage",
"body": "Hallo `@@name@@` \n Bitte senden Sie mir einen Ausdruck von diesem Bild: ",
"to": "info@cewe.de",
"form": "formname"
}
}
Result:
A sendFormMail action that uses form data has been created.