Home › Forums › Ticket Products › Event Tickets Plus › Email to notify an admin or organizer of new RSVP
- This topic has 3 replies, 4 voices, and was last updated 7 years, 4 months ago by Brian Cuda.
-
AuthorPosts
-
December 8, 2016 at 7:26 am #1203107Brian CudaParticipant
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.
December 8, 2016 at 3:13 pm #1203575HunterModeratorHello,
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!
December 30, 2016 at 8:35 am #1211796Support DroidKeymasterHey 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 -
AuthorPosts
- The topic ‘Email to notify an admin or organizer of new RSVP’ is closed to new replies.