Email Notifications

Overview

Formcierge sends email notifications on form submission. Each form can have multiple notification rules — e.g. one to the admin and one to the submitter as a confirmation.

Configuring a Notification

  1. Open a form and go to Settings → Notifications.
  2. Click Add Notification (or edit the default one).
  3. Set To, From, Subject, and Body.
  4. Use merge tags (click the {} button) to include form values.
  5. Set Conditions to send the notification only when specific criteria are met.

Reply-To

To set the reply address to the submitter’s email, set the Reply-To field to:

{field:email}

HTML vs Plain-Text

Toggle the Body field between HTML and plain-text mode. HTML mode supports a template chooser with pre-built layouts.

SMTP Configuration

By default, Formcierge uses wp_mail() to send notifications. For reliable delivery, configure SMTP in Formcierge → Settings → SMTP:

  • Host, Port, Encryption (TLS/SSL), Username, Password
  • Supports any SMTP provider: Gmail, SendGrid, Mailgun, Brevo, Postmark, etc.

Notification Hooks

// Add a CC recipient programmatically
add_filter( 'formcierge_email_recipients', function ( $to, $form_id, $entry_id ) {
    $to[] = 'manager@example.com';
    return $to;
}, 10, 3 );

// Modify subject line
add_filter( 'formcierge_email_subject', function ( $subject, $form_id ) {
    return "[New Lead] " . $subject;
}, 10, 2 );