Email notifications

Each accepted submission is emailed to the form's confirmed recipients. This page covers who gets the email, how to change the way it reads, the automatic reply to the sender, and routing rules. All of it is set on the form's Delivery tab.

Last updated

Recipients

A form can email several addresses. Add them on the Delivery tab.

  • A new address gets a confirmation link first. Nothing is sent to it until the link is opened and confirmed. The link works for 7 days.
  • Addresses of people in your team are confirmed already.
  • A form always keeps at least one confirmed address: the last one can't be removed.
  • The number of confirmation emails an account can send in a day is limited.

Confirmation is what stops FormRelay from being used to send mail to strangers. For the same reason a submission can never choose who receives it: there is no field that sets the recipient.

The notification email

The email lists every field with its value. It is sent from "your form's name via FormRelay".

PartWhere it comes from
SubjectThe subject saved for the form. If none is saved, the submission's subject field. If there is neither, "New submission: " and the form's name.
Sender nameThe sender name saved for the form, or the form's name, followed by "via FormRelay".
Reply-ToThe submission's email field, when it holds one plain address. Replying to the notification then writes to the person who sent the form.
Intro textThe line above the fields. Yours if you saved one, otherwise "New submission to" and the form's name and site.

Placeholders

The saved subject and intro text can include what was typed. Write a field's name in double braces: Quote request from {{name}} becomes "Quote request from Ada Lovelace".

  • Any field name works, in upper or lower case.
  • A placeholder for a field the submission doesn't have is left out.
  • The subject is kept to one line of at most 200 characters.
  • Everything a sender typed is shown as text in the email, never as HTML.

Layouts

Under Delivery, "Layout" chooses how the notification is laid out, on every plan: Standard (a card with each field beside its name), Compact (each field under its name, easier to read on a phone) or Plain (no card or colour, like a typed email).

Your own HTML template

On the paid plans you can write the notification yourself, under Delivery, "Your own template". It replaces the intro and the layout; the subject and sender name still apply.

PlaceholderReplaced with
{{name}}What was typed in the field of that name (any field name works).
{{fields}}Every field, laid out as in our own emails.
{{form_name}}The form's name.
{{site}}The site the submission came from.
  • When you save, the HTML is reduced to what an email can carry: text, headings, tables, images and links over https, and inline style attributes. Scripts, forms, frames and <style> blocks are removed.
  • A placeholder works in text only. An attribute with a placeholder in it (a link or image address, say) is removed when you save, so a sender can never choose where a link goes.
  • Link and image addresses must start with https:// (or mailto:, tel: for links). Styles that position a block over its neighbours are removed.
  • What a sender typed is always inserted as text.
  • A footer says the email was sent by FormRelay. On the Business plan, white-label removes the FormRelay name, logo and link from the notification and "via FormRelay" from the sender name; one line then says only why the reader got the email.

Attachments

When a form accepts files, each file is attached to the notification, and the email lists their names and sizes. A file that fails the malware check is removed, one whose check hasn't finished is left out, and the email says so either way.

Autoresponder

The autoresponder sends your own message to the address in the submission's email field, so people know their message arrived. It is part of the paid plans and is off until you turn it on.

  • You write a subject and a plain-text message. A blank line starts a new paragraph.
  • Everyone gets exactly that text. It can't include anything the sender typed, and placeholders don't work in it.
  • Replies to it go to the form's first confirmed recipient.
  • It is never sent for spam, and only when the submission was also sent to at least one of your own destinations.
  • One address gets your form's reply at most once a day, and at most 3 automatic replies a day from all of FormRelay. There is also a daily total for each account. A reply that isn't sent shows as "Skipped" on the submission.

The fixed text and the limits exist because this is the only email FormRelay sends to an address nobody confirmed. If it repeated the form's contents, anyone could post to your form with someone else's address and have their own text delivered under your name.

Routing rules

Every destination gets every submission, unless you give it a rule. A destination with a rule only gets the submissions where one field matches.

  • A rule names a field, a comparison (is or contains) and a value. For example: send to sales@example.com only when department is sales.
  • Rules can be put on a confirmed email address or on a webhook (Slack, Discord, JSON or a Zap). Each destination has at most one rule.
  • Upper and lower case don't matter, in the field's name or in the value.
  • A submission that no destination takes isn't lost. It is kept as "Not sent" under Needs attention in the inbox, and can be sent again once a destination will take it.

When an email can't be delivered

A refused send is tried again, up to 3 times. A mail service that is busy or unreachable doesn't use up a try: the submission waits and is sent when it is back. A submission whose delivery failed for good appears under Needs attention with its contents kept, even on a form set to keep nothing, and "Send again" retries the destinations that failed.

Each message in the inbox shows its delivery log: every destination, its status and any error.

Something missing or wrong? Email support@domodomu.com. New to FormRelay? See what it does or start free.