Blog

WordPress form email notification: multiple recipients, Reply-To, and content that stays readable

Properly configured, a WordPress form email notification reaches the right people, is easy to read, and can be handled with a single click on Reply. This guide shows you how to achieve this with nexya forms: one email per recipient, sending conditions, a reply to the visitor, and a log to verify that everything has been sent.

WordPress form email notification: multiple recipients, Reply-To, and content that stays readable

Key points

  • One email per audience, with its recipients and copies, rather than a long list of addresses in a single field.
  • Conditions send each request to the appropriate team based on the visitor's response.
  • The sender remains a site address; the visitor receives their own reply, sent to the address they entered.
  • No setting named Reply-To is described for emails sent to the team: verify this point before relying on it.
  • The Mail module log gives the reason for each failure; there is no resend button.

WordPress form email notification: three recurring issues

On the WordPress.org forums, WordPress form email notifications generally come up in three ways. First, the reply address: you click Reply, and the message goes to the site’s address instead of the visitor’s. Second, the recipients: you need to notify two people, or just one depending on the choice made in the form. Finally, the content: formatting disappears, HTML is stripped out, line breaks are lost.

These three issues do not share the same cause, but they are all fixed in the same place: in the emails attached to the form, and in how the site sends them. Here is how nexya forms organizes them, and what it does not do.

A quick clarification before we start. nexya forms is part of nexya Pro, sold on nexya.dev. The Mail module, which handles the actual sending (SMTP, API provider, Gmail or Microsoft 365 account connected via OAuth), is free.

Multiple recipients: one email per audience rather than a long list

In nexya forms, a form doesn’t just have one email: it can have several. Each has its own recipients, copies, and, if needed, sending conditions.

A common reflex is to stack addresses into a single field. This works, but then everyone receives the exact same message. It is often better to create an email per audience: the team handling the request, the person who only needs to be kept in the loop, accounting when the form processes a payment. Each message can then have its own subject line and content.

A useful detail: the link that opens the entry on the site can be removed from each message sent to the team. This is handy when a recipient doesn’t have an account on the site and wouldn’t be able to open it anyway.

  • Main recipients: the people handling the request.
  • Copies: those who only need to be informed.
  • A separate email as soon as the content or audience changes.

Sending based on the response: conditions

Second frequent request: sending to a different address depending on what the visitor chose. For example, a “Department” list with Support and Sales, with each option routing to the right inbox.

With nexya forms, you create an email for each scenario and attach a condition to it: it only goes out if the answer matches. The visitor doesn’t see any of this sorting, and each team only receives what concerns them.

When the form contains a Stripe or PayPal payment, emails are only sent once the payment is confirmed. Therefore, no one is notified about an abandoned order midway through.

An email per scenario, with its condition, is much easier to read than a single rule trying to cover everything.

Configuring form emails, step by step

  1. 1

    Check the sending method

    In the Mail module, choose SMTP, an API provider, or a Gmail or Microsoft 365 account connected via OAuth, then send a test message. If the test fails, no form emails will be sent either.

    Check the sending method
  2. 2

    Create the email intended for the team

    In the form editor, add an email with its primary recipients and copies. Remove the link to the entry if certain recipients do not have an account on the site.

    Create the email intended for the team
  3. 3

    Add an email per scenario, with its condition

    If the request needs to reach a different team depending on the visitor's response, create an email for each scenario and attach the triggering condition to each one.

    Add an email per scenario, with its condition
  4. 4

    Add the reply to the visitor

    Create the reply sent to the address entered by the visitor: thank you message, summary, response time. The sender remains an address belonging to the site's domain.

    Add the reply to the visitor
  5. 5

    Test and read the log

    Fill out the form yourself, then open the Mail module log. Any failure will appear there with the reason provided by the server.

    Test and read the log

Reply-To: replying to the visitor without breaking the sender

An email’s sender (the From field) and the reply address (Reply-To) are two separate things. The sender must remain an address on the site’s domain: if you put the visitor’s address there, receiving servers see it as spoofing and the message often ends up in spam. The reply address, on the other hand, can point elsewhere without causing this issue.

To reach out to the visitor, nexya forms provides a reply addressed directly to them: a separate email, sent to the address they entered, with its own content. This is the place to thank them, confirm what they submitted, and let them know when you will get back to them.

Let’s be clear: the description of nexya forms does not mention a setting named Reply-To for emails sent to the team. If your workflow relies entirely on the email client’s Reply button, double-check this in the email settings before counting on it. In any case, the visitor’s address remains in the entry, stored on the site along with their answers.

The email template: in Pro, the letterhead uses the brand colors and applies to all emails.
The email template: in Pro, the letterhead uses the brand colors and applies to all emails.

Email content: line breaks, HTML, and letterhead

“HTML stripped from email” generally has two causes: a tool sending in plain text, or another plugin intercepting the mailings and filtering their content. In the latter case, the only solution is to identify the plugin in question and remove that role from it.

At nexya, formatting doesn’t rely on hand-pasted HTML. It relies on email templates. A line break in a paragraph, made with Enter or a typed <br>, stays a line break. Templates can also display a social media section (Facebook, Instagram, LinkedIn, and others), in each network’s colors or one of your own.

nexya Pro adds a letterhead to all emails. It uses the brand colors defined in the Colors tab of the settings, which can be inherited from the theme with one click. Form messages thus share the same look and feel as the rest of the site, without having to recode anything for each email.

The Mail module log: each failure with the reason provided by the server.
The Mail module log: each failure with the reason provided by the server.

Verifying that it went out successfully: the sending log

A properly configured email might still fail to arrive. The Mail module keeps a sending log: every failure is listed there along with the reason provided by the server. A test message allows you to check the connection before putting the form online.

Two limits to know in advance: there is no button to resend an email from the log, and the module does not check your SPF, DKIM, or DMARC records. If a failure occurs, the cause can be found in the server response within the log.

With nexya Pro, a second sending server takes over when the first one fails, and an alert notifies you of the outage.

What is free, what requires nexya Pro

To avoid any surprises, here is the breakdown as described by nexya.

  • Free: the Mail module (SMTP, API provider, Gmail or Microsoft 365 via OAuth), the sending log, the test message, the invisible captcha.
  • nexya Pro: nexya forms, with multiple emails per form, recipients, copies, conditions, and a reply to the visitor.
  • nexya Pro: the letterhead on all emails, the second sending server, and failure alerts.

FAQ

Can a form notification be sent to multiple people?

Yes. In nexya forms, each form can have multiple emails, each with its own recipients and copies. Creating an email per audience makes it possible to tailor the subject and content to each one.

How to send to a different address depending on the visitor's choice?

Create an email for each scenario and add a condition to it regarding the relevant response. The email is only sent if the condition is met.

Why not use the visitor's address as the sender?

Because the site is not authorized to send on behalf of another domain. Receiving servers view this as spoofing and often classify the message as spam. The sender must remain an address belonging to the site's domain.

Is nexya forms free?

No. nexya forms is part of nexya Pro, just like the letterhead on all emails. The Mail module, its sending log, and the test message are free.

The modules in this post

nexya forms nexya mail nexya hub

Try nexya Pro free for 7 days

Every module, forms, newsletters and the page cache, on your site. No commitment.

See the plans Or discover the free version