When your website means business.

WP/CP | Type: PHPChange WordPress Sender Email

Less system-generated email will end up in spam folders if it’s a legitimate email address.

 // Function to change email address
Place in theme functions file or plugin file.
function wpb_sender_email( $original_email_address ) {
    return 'tim.smith@example.com';
// Function to change sender name
function wpb_sender_name( $original_email_from ) {
    return 'Tim Smith';
// Hooking up our functions to WordPress filters 
add_filter( 'wp_mail_from', 'wpb_sender_email' );
add_filter( 'wp_mail_from_name', 'wpb_sender_name' );
We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.