Send a notification email
Updated July 14, 2023
Also available in:
Formspree.json configuration
Email a simple plain-text notification to somebody when the form is submitted.
| Key | Type | Description |
|---|---|---|
type | String | Must be email |
to | String | The email address of the recipient (required) |
Example
{
"forms": {
"contact": {
"name": "Contact Form",
"actions": [
{
"type": "email",
"to": "john@example.com"
}
]
}
}
}
Validation
When the email action is added, the following validation rules are implicitly added.
| Field | Validation Rule |
|---|---|
email | Required |
email | Type is email |