Is it possible to set multiple email addresses (Cc) in the back-end of the appointment settings that will receive an email when an RSVP form is submitted? Currently only the appointment author gets a mail notification, when an RSVP form is submitted.
Hi,
Is it possible to set multiple email addresses (Cc) in the back-end of the appointment settings that will receive an email when an RSVP form is submitted? Currently only the appointment author gets a mail notification, when an RSVP form is submitted.
Regards.
Hi,
Yes, via headers filter in your theme/child-theme functions.php file.
Example:
add_filter('stec_wp_mail_headers', function() { $headers = [];
$headers[] = 'Cc: [email protected]';
$headers[] = 'Cc: [email protected]';
return $headers;
});
Stachethemes Developer