Guide 08

Email

The Email screen controls the notification email Moonshot Labs Lead Intake Forms sends when an enquiry arrives. It sets who is told, what the subject says and how the email is sent. The email log shows what was sent, and lets you try again the emails that failed.

The Email screen

Go to Lead Intake → Email. The screen has two tabs: Settings and Email log. The tab you are on is kept in the address, so the browser’s Back button moves between them.

On the Settings tab there are three cards: Notifications, Sending method and Send a test. One Save email settings button, in the foot of the Sending method card, saves everything on the tab at once, including the notification settings above it.

Notifications

The Notifications card with the On switch, the Notify box holding an address, and the Subject line
The Notifications card.
OptionWhat it doesDefault
Switch: On or OffOn: every new enquiry is emailed. Off: nobody is emailed when an enquiry arrives. Turning it off does not change the leads, which are still saved.On for a new install
NotifyWho gets the email. One address, or several separated by commas. Up to 10. A line that is not an address is marked, and the screen names it. The field is required while the switch is on. When it is empty and the site has an administrator address, a Use link fills it in.The site’s administrator email address
Subject lineThe subject of each notification. It can use four placeholders: {form_title} (the form’s name), {form} (its key), {lead_id} (the lead number) and {site} (the site name). A visitor’s answers are never put in the subject. Up to 200 characters.New enquiry: {form_title} (#{lead_id})

Moonshot Labs Lead Intake Forms refuses a save when an address is not valid, when more than 10 addresses are listed, or when the switch is on and there is no address. The message appears beside the save button.

Sending method

The Sending method card with the Send with list open at Use this site's mail, the sender name and address fields and the Save email settings button
The Sending method card with the site’s own mail selected.
OptionWhat it doesDefault
Send with: Use this site’s mailSends through WordPress’s own mail function, so your host or mail plugin delivers it.Selected
Send with: SMTP serverSends through a mail server you name. See SMTP server fields.—
Sender nameShown as the sender of the email. Optional, up to 100 characters. Shown when the method is Use this site’s mail.Empty
Sender addressThe address the email comes from. Optional. Leave it empty unless your mail provider is set up to send as the address you enter, because a made-up sender is often filed as spam. Shown when the method is Use this site’s mail.Empty

When the sending method you saved is no longer available, a warning says that the site’s mail is being used instead.

SMTP server fields

Choose SMTP server under Send with to show these fields. Get the details from whoever runs your mail server or email account.

The Sending method card set to SMTP server, showing Mail server, Port, Encryption, the login switch, the sender fields
The SMTP server fields.
OptionWhat it doesDefault
Mail serverThe server address, such as smtp.example.com. Required. Up to 255 characters.Empty
PortChoose 25, 465, 587 or 2525. Other ports are refused.587
EncryptionNone, TLS or SSL. This is how the connection is protected. Use the setting your provider asks for.TLS
Login switchTurn on when the server asks for a username and password. When it is on, the username and password fields appear.Off: this server needs no login
UsernameThe login name for the server. Required when the login switch is on. Up to 200 characters.Empty
PasswordThe login password. It is stored encrypted and is never shown again. Once a password is stored, the box shows Stored. Leave empty to keep it. Type a new one to replace it. Leave it empty to keep the stored one. A password is required when there is none stored.Empty
Sender nameThe name shown as the sender. Optional. Up to 100 characters.Empty
Sender addressThe address Moonshot Labs Lead Intake Forms’s emails are sent as. Required, and it must be one your mail server allows. Up to 254 characters.Empty

The SMTP password is never sent back to the browser. A stored password is not shown, only the box that says it is stored.

Send a test

The Send a test card with an address field and a Send a test button
The Send a test card.
OptionWhat it doesDefault
Send the test toThe address that receives the test. Must look like an email address.Empty
Send a testSends one plain test email using the saved settings. It contains no enquiry data. Save first if you have changed anything. A message under the card says whether it was sent or what went wrong. After several test sends, Moonshot Labs Lead Intake Forms asks you to wait ten minutes.—

Email log

Select the Email log tab. It lists the notification emails Moonshot Labs Lead Intake Forms has recorded, 25 to a page.

The Email log tab with the filter buttons All, Sent, Failed and Waiting, and a table of recent emails
The Email log, with the filter buttons above the table.
Column or controlWhat it doesDefault
All, Sent, Failed, WaitingFilter buttons. Each shows how many emails have that status. All shows every email.All
WhenHow long ago the email was queued, such as “5 minutes ago”.—
LeadThe name of the enquirer, linked to the lead on the Leads screen. Shows Lead removed when the lead has been deleted.—
StatusSent: the email has gone to the mail service. Failed: it could not be sent. Waiting: it is queued and not yet sent.—
AttemptsHow many times Moonshot Labs Lead Intake Forms has tried to send it.—
ErrorFor a failed email, the reason in plain words, such as the server refusing the connection. Shows a dash when there is no error.—
RetryAppears on a failed email only. Tries to send it again. The button reads Retrying… while it works, and a note says Tried again. The list is refreshed below. when it is done.—
Previous, NextMove between pages of the log. The page number is shown between them.Page 1
The Email log with the Failed filter selected, showing failed emails with their error text and a Retry button
The log filtered to failed emails, with the reason and the Retry button.

When the log is empty, it says No emails yet and explains the three statuses. A filter with no matches says Nothing here.

What the notification contains

The notification is a plain-text email. It holds the same details as the lead, and a link to open it in WordPress. In order, it contains:

  • A first line: A new enquiry was submitted on your site name.
  • The form’s key and version, the reference Lead # with the lead number, when it was received, the priority, and the source.
  • A Contact section with the visitor’s name, email and phone number where the form asked for them.
  • An Answers section with every other answer on the form.
  • A Consent line with the consent notice version and time, when consent was recorded.
  • The address of the Leads screen in WordPress, and a note that the newest enquiry is at the top.
  • When the visitor gave an email address, a note that searching the Leads screen for that address finds the enquiry again.
  • A footer: You are receiving this because email notifications are switched on under Lead Intake > Email.

When a lead has no fields shared with the email, the notification carries the reference only, and asks you to open the lead to read the answers. The reply-to address is set to the visitor’s email, so replying to the notification writes to the person who enquired. The subject never includes the visitor’s answers.

Common tasks

To send notifications to two people

  1. Open Lead Intake → Email. In Notifications, make sure the switch is on.
  2. In Notify, type both addresses, separated by a comma.
  3. Select Save email settings in the Sending method card.

To send through your own SMTP server

  1. In Sending method, choose SMTP server.
  2. Fill in the mail server, port, encryption and sender address. Turn on the login switch and fill in the username and password if the server needs them.
  3. Select Save email settings.
  4. Type an address under Send a test and select Send a test. Check that it arrives.

To try a failed email again

  1. Select the Email log tab, then Failed.
  2. Read the error. If it is about the server or a password, fix the setting on the Settings tab first and save.
  3. Select Retry on the row.