Okay
  Public Ticket #2794921
multiple email addresses (Cc) for rsvp
Closed

Comments

  •  4
    Dan started the conversation

    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.

  •  799
    Zhivko replied

    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