Change WordPress sender name and email address

Oftentimes by default your system emails will be sent from wordpress@yourdomain.com. There are a few ways to modify the sender name and email address.


CB Change Mail Sender plugin

This plugin provides a quick and easy way to customize the sender mail settings from within the WordPress admin:
https://wordpress.org/plugins/cb-change-mail-sender/


SMTP Plugins

If you configure your website to send mail using an SMTP plugin such as Easy WP SMTP you can set the sender name and email address through the plugin settings.


Custom Function

Add the following your theme’s functions.php file:

function change_sender_email( $original_email_address ) {
    return 'hi@jessnunez.dev';
}
 
function change_sender_name( $original_email_from ) {
    return 'Jess';
}
add_filter( 'wp_mail_from', 'change_sender_email' );
add_filter( 'wp_mail_from_name', 'change_sender_name' );