Skip to content
Contact

Use it

Email notifications, auto-reply and after sending

Every valid submission sends an email notification to whoever you choose, and can send an automatic reply to the person who wrote. The subject and text of both are written with tags that are replaced by what was sent. This is also where you choose what people see after sending.

Who gets the notification

In this order: the addresses in Send notifications to under Form settings; if empty, those in Kubo Forms › Settings › Notifications; and if that is empty too, the site’s administration email. Up to 10 addresses separated by commas are accepted, and invalid ones are dropped.

The recipient always comes from the settings, never from what a visitor writes: nobody can use your form to send email to other people.

If the form has a filled-in email field, the notification uses that address as Reply-To: replying to the notification is replying to the person who wrote. If there is also a field whose internal name is name, their name goes with it.

The notification’s subject and text

In the form editor’s Emails panel: Notification subject and Notification text. Left empty, the usual ones are used:

  • Subject: [{site_name}] New submission: {form_title}.
  • Text: every field ({all_fields}), the submission number, the link to see it in WordPress ({entry_url}) and the page it was sent from.

Emails are plain text: what the visitor wrote goes as it is and nothing is read as HTML. The subject takes 200 characters and the text 5,000.

Tags

They work in the subject and text of both emails. The Emails panel lists the ones for the form you are editing.

  • {field_name}: that field’s value, by its internal name ({name}, {email}, {phone}, {message}…). Ticked options are separated by commas, checkboxes show as “Yes” or “No”, and a file by its name.
  • {all_fields}: each field with its label and value, one under the other (“—” if left empty), without the acceptance and newsletter checkboxes.
  • {form_title}: the form’s title.
  • {site_name} and {site_url}: your site’s name and address.
  • {page_url}: the page it was sent from.
  • {date}: the submission’s date and time, in the format set in Settings › General.
  • {entry_id}: the submission number.
  • {entry_url}: the link to the submission in WordPress (it asks you to log in). Files are downloaded from there; they are never attached.

Tags are filled in a single pass: if a visitor types {email} in their message, it stays as text and is not replaced.

The automatic reply

It is off by default. In Emails, turn on Send an automatic reply; Reply subject and Reply text appear, and if left empty they send “We have received your message — {site_name}” and a short thank-you text.

  • It goes to the address in the form’s first email field that holds a valid address. If the form has no email field, the editor warns you; if the field is optional and left empty, nothing is sent.
  • Never to a submission marked as spam.
  • At most three replies to the same address in an hour; the fourth is recorded as “Not sent” on its submission.
  • Its Reply-To is the first address notifications go to: if the person answers, it reaches you.
  • It never carries attachments.

Anyone can type someone else’s address in a form. That is why the default text does not include {all_fields}: what they wrote would reach that other person in your name. Add it only if you need it.

Knowing whether the email went out

Each email is recorded on its submission. Under Kubo Forms › Submissions, the Notification column says whether the notification went out, and the submission’s detail, in its Notifications box, shows the notification and the automatic reply with their status (Sent, Failed or Not sent), who they were for and, if they failed, the reason WordPress gave. Above the list, Emails that failed counts the notifications that failed in the last 30 days.

“Sent” means WordPress handed the email to your mail server. If it still does not arrive, check the spam folder or set up your site’s email sending (with an SMTP plugin, for example). The submission is always saved, even if the email fails.

What happens after sending

In the After sending panel, choose under Whoever sends the form:

  • Sees a message: the one in Message after sending (up to 500 characters), or “Thank you. We have received your message.” if you leave it empty. It appears above the form, which clears for another message.
  • Goes to a page of your site: you choose a published page under Page. It is the thank-you page where an ad or analytics tool counts the conversion. If the page stops being published, the form goes back to showing the message.
  • Goes to an address: any address starting with https:// or http://. The editor warns you if it is not a web address (until it is, the message is shown) and if it is on another site, because everyone who sends the form will go there.

It works the same with and without JavaScript. The destination is chosen by whoever edits the form: nothing that arrives with a submission can change it.

The feature, with its demo: Email notifications