formcierge_email_headers
Filter

Since v1.0.0

Add custom headers to notification emails such as Reply-To, BCC, or X- tracking headers.

Parameters
$headers array Array of header strings, e.g. ["Reply-To: name@example.com"].
$form_id int The form ID.
Defined in
includes/Core/Mailer.php
add_filter( 'formcierge_email_headers', function ( $headers, $form_id ) {
    $headers[] = 'Reply-To: support@mysite.com';
    return $headers;
}, 10, 2 );