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
- Open a form and go to Settings → Notifications.
- Click Add Notification (or edit the default one).
- Set To, From, Subject, and Body.
- Use merge tags (click the {} button) to include form values.
- 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 );