Customize the ‘From’ name and from email address of the RSVP email sent to the user


When an email is sent from a WordPress site, then usually the sender shows up like this:

From: WordPress <>

This will also be the case if the website visitors RSVP to an event. They will get a confirmation from the above email address, which might be confusing.

The below snippet will help you change that easily.


Copy the below code into your (child) theme's functions.php file (or wherever you usually put custom code.


Event Tickets


function andras_et_rsvp_from() {
	// set Headers to Event Tickets' default
	$headers = array( 'Content-type: text/html' );
    // Set the from name and address
    $fromname  = 'Name';
    $fromemail = '';
    // Set the sender in the Headers
	$headers[] = 'From: ' . $fromname . ' <' . $fromemail . '>';
	return $headers;
add_filter( 'tribe_rsvp_email_headers', 'andras_et_rsvp_from' );


  • Originally written in November 2018
  • Tested with Event Tickets 4.8.3
  • Author: András Guseo


As with all of our recipes, please note that we share this in the hope it will be useful but without any guarantees or commitments. If you wish to use it, it is your responsibility to test it first of all and adapt it to your needs (or find someone who can do so on your behalf). We are unable to provide further support in relation to this recipe.