Skip to content

Emails ​

Each form can send two emails: a notification to you with the answers, and a confirmation to the visitor. Set them up in the Email section of the form settings.

The Email settings with the notification to you and the confirmation to the visitor switched on

Notification to you ​

Switch on Send email notifications. Switch it off to only store entries.

  • Send to: Site default uses the recipient from Options → Email defaults; Custom sends this form's notifications to the Recipient email you enter.
  • Email subject: the subject line, for example "New form submission".
  • Sender: Site default, or a From name and From email for this form. Use an address on your own domain, so mail servers trust it.

The notification lists every answer. Email template in the same section adjusts its layout: an intro and footer text, whether to show the form title, the font and the accent colour.

Confirmation to the visitor ​

Switch on Confirmation to visitor, then:

  • Recipient email field: the form's Email field that holds the visitor's address. The form needs at least one Email field.
  • Email subject and Message body, in plain text. Edit message opens the body.
  • Sender: as for the notification. A visitor's own address is never used as the sender.

Send test email, next to Edit message, sends a test notification, without answers, to the notification's recipient. It uses the email settings as they are on screen, including changes you haven't saved.

Placeholders ​

Subjects and the confirmation message can include answers:

PlaceholderBecomes
{{form_title}}The form's title
{{field:email_address}}The answer of the field with the key email_address

A field's key is in its settings, under Basics. See Fields.

How email is delivered ​

Options → Email defaults sets the defaults for all forms: the recipient, the sender and the Email provider. A form uses it (Use global delivery method) or its own Delivery method.

MethodSends through
Joomla default (Joomla Mailer in Options)Joomla's own mail settings (System → Global Configuration → Server)
Custom SMTPYour own mail server
SendGrid, Mailgun, Postmark, Brevo, Amazon SES, SMTP2GOThat email service, with your API key
MailpitA local test mailbox, only for testing on your own computer

Keys and passwords are stored encrypted. If you change a form's SMTP host, port, encryption or username, enter the SMTP password again before you save or send a test email: a saved password is only used with the server it was saved for. To save Options, the NXForms - System plugin must be enabled. See Options.

Emails not arriving?

Send a test from the form's Email section, check your spam folder, and use a sender address on your own domain. With Joomla default, also check Joomla's mail settings. See Troubleshooting.