Email to notify an admin or organizer of new RSVP

Home Forums Ticket Products Event Tickets Plus Email to notify an admin or organizer of new RSVP

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1203107
    Brian Cuda
    Participant

    How or where is the setting to have a notification emailed ot the site admin or organizer that there has been an event rsvp?

    Just using Event Tickets Pro without an ecommerce system.

    #1203575
    Hunter
    Moderator

    Hello,

    There is no setting in the Events dashboard relating to site admin/organizer notifications when a guest RSVPs, but you could use the snippet below (add to theme’s functions.php file) to help send emails to the admin. If you are not receiving emails, please install a plugin such as Easy WP SMTP which helps ensure emails get delivered.

    /**
    * BCC site admin email on all Event Tickets' RSVP ticket emails so they get a copy of it too
    *
    * From https://gist.github.com/cliffordp/4f06f95dbff364242cf54a3b5271b182
    *
    * Reference: https://developer.wordpress.org/reference/functions/wp_mail/#using-headers-to-set-from-cc-and-bcc-parameters
    *
    */
    function cliff_et_rsvp_bcc_admin_ticket() {
    // get site admin's email
    $bcc = sanitize_email( get_option( 'admin_email' ) );

    // set Headers to Event Tickets' default
    $headers = array( 'Content-type: text/html' );

    // add BCC email if it's a valid email address
    if ( is_email( $bcc ) ) {
    $headers[] = sprintf( 'Bcc: %s', $bcc );
    }

    return $headers;
    }
    add_filter( 'tribe_rsvp_email_headers', 'cliff_et_rsvp_bcc_admin_ticket' );

    If this is a feature you’d like seen in an upcoming release, please visit our UserVoice Feature Ideas and submit your request there. I hope this helps and have a great evening. Cheers!

    #1211796
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Email to notify an admin or organizer of new RSVP’ is closed to new replies.