fbpx
Be a part of our upcoming webinar on the   Attendee Information Addon   on the 24th April at 10:00 PM IST. Register Now! and Get EXCITING OFFER.
How can we help?

Changing Default Email Address

The sender email address, also known as the “From” in the admin panel helps your event attendees identify you and your business. That is why it is essential for you to add an easily recognizable sender’s email address while filling up your preferences in the admin panel.

Generally, your personal email address is added to the From section as the default sender but you can change it easily using the below mentioned code:

// Function to change email address
 function wpb_sender_email( $original_email_address ) {
 return 'miracle@yoursite.com';
 }
// Function to change sender name
 function wpb_sender_name( $original_email_from ) {
 return 'A miracle worker';
 }
// Hooking up our functions to WordPress filters
 add_filter( 'wp_mail_from', 'wpb_sender_email' );
 add_filter( 'wp_mail_from_name', 'wpb_sender_name' );

Changing Default Email Address
Editorial Team

Our team constantly explores ways that technology can help us reinvent industries. We want to change the world by creating great products that transform industries. We Dream It, We Make It.

Quick Links
Close
Close