How to Change Sender Name and Email in Outgoing WordPress Emails

The best way to change the default sender name and email address for outgoing WordPress emails is by making a quick addition to your theme’s functions.php file. By default, WordPress uses ‘WordPress’ as the sender name for all outgoing WordPress notification emails. And it uses the admin email as the default email. Customizing those items can improve the professional appearance of the site owner. It’s a quick fix for experienced WordPress developers.

Changing default sender name and email address in WordPress outgoing emails

Why You Should Change the Default Sender Information in WordPress?

The default WordPress sender name is ‘WordPress’ which sends emails from a non-existent email address () as the sender email. Spam filters will often block your WordPress emails because it spammers use default WordPress settings in an attempt to trick the spam filters. The outgoing email notifications of a customer’s website are super important, and you should use their brand name and brand email address.

Okay, let’s go ahead and change the default sender name and email address in outgoing WordPress email notifications.

Login to server’s file manager >> go to /wp-content/themes/[your child theme]/functions.php >> edit >> add the following code, changing and Mary Doe with your respective information>> save

// Change email address

function wpb_sender_email( $original_email_address ) {
return '';

// Change sender name
function wpb_sender_name( $original_email_from ) {
return 'Mary Doe';

// Hook both functions to WordPress filters
add_filter( 'wp_mail_from', 'wpb_sender_email' );
add_filter( 'wp_mail_from_name', 'wpb_sender_name' );

You can also make those edits through your WordPress dashboard >> appearance >> edit themes >> select child theme >> select functions.php >> edit >> save