Hi there,
My client has stopped receiving event notifications when someone signs up for a class and when I test it out, the confirmations for the people that signed up aren’t working either. I check on the back end and can see the sign ups, but none of the emails are working.
Here’s the event calendar: https://pamperedpregnancy.com/events/
A while ago, I talked with Cliff here and he gave me this code to use for admin notifications.
function cliff_et_rsvp_bcc_admin_ticket() {
// get site admin's email
$bcc = '[email protected]';
// 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' );
add_filter( 'tribe_rsvp_email_subject', 'tribe_change_rsvp_subject' );
function tribe_change_rsvp_subject( $subject ) {
$subject = sprintf( __( 'Registration Confirmation from %s', 'event-tickets' ), get_bloginfo( 'name' ) );
return $subject;
}
However, like I said, I’m all of a sudden not receiving any notifications or confirmations.
Can somebody please help me troubleshoot this ASAP?
Thank You,
Mark