Notifications & email
Stacko Forms can send one or more emails each time a form is submitted, for example a notification to you and a confirmation to the visitor.
How email is sent
Section titled “How email is sent”Stacko Forms sends email through WordPress (wp_mail()), so it works with any SMTP plugin. For reliable delivery, we recommend using one.
The entry is always saved before any email is sent. If your email setup fails, the entry is still there, the failure is logged and you can resend the email later.
Set up notifications
Section titled “Set up notifications”Open the form in the builder, go to the Settings tab and find Email notifications. Every new form starts with an Admin notification that sends all answers to the site admin email.
Click Add email to add another one (up to 10 per form). For each email you can set:
| Setting | What it does |
|---|---|
| Send this email | Turn the email on or off without deleting it. |
| Name (only you see this) | A name to tell your emails apart, shown in the email log. |
| Send to | One or more addresses, separated by commas (up to 10). Merge tags work here, for example {admin_email} or {field:email}. |
| Subject | The subject line. Merge tags work here. |
| Message | The email body. Use {all_fields} to include every answer. |
| Reply-to | So you can reply straight to the person who filled in the form. Usually {field:email}. |
If a form has no emails turned on, no emails are sent, but entries are still saved.
Sender name and address
Section titled “Sender name and address”Set the default sender in Stacko Forms → Settings → Email:
- From name: leave empty to use your site name.
- From email: use an address on your own domain so emails aren’t marked as spam. Leave empty to use the WordPress default.
Merge tags
Section titled “Merge tags”Merge tags are placeholders that are replaced with real values when the email is sent. They work in Send to, Subject, Message and Reply-to, and in the Show a message confirmation text.
| Tag | Replaced with |
|---|---|
{all_fields} |
Every answer, with its label (hidden fields are left out) |
{field:ID} |
The answer to one field, for example {field:email} |
{form_title} |
The form’s title |
{form_id} |
The form’s ID |
{entry_id} |
The entry ID |
{entry_url} |
A link to the entry in your admin |
{page_url} |
The page the form was sent from |
{date} |
The date and time, in your site’s format |
{admin_email} |
Your site’s admin email |
{site_name} |
Your site’s name |
{site_url} |
Your site’s address |
You can find a field’s ID in its settings. It’s shown under Field ID, next to the matching tag, such as {field:email}.
The email log and resending
Section titled “The email log and resending”Each entry shows the emails sent for it under Emails, with:
- Sent or Failed
- who it was sent to and when
- the reason, if it failed
Click Resend to send it again. Resend uses the form’s current email settings, so if you’ve fixed a typo in the address, the new address is used. If you’ve removed that email from the form, it can’t be resent.
The Dashboard shows how many emails failed in the last 30 days, and Stacko Forms → Tools → Recent log lists recent errors.