Home / Change Outgoing Email Sender
Duplicate Snippet

Embed Snippet on Your Site

Change Outgoing Email Sender

Change the outgoing sender name and email address. Don't forget to edit the snippet with...

Code Preview
// Please edit the address and name below before activating this snippet.
// Change the From address.
add_filter( 'wp_mail_from', function ( $original_email_address ) {
	return '[email protected]';
} );
// Change the From name.
add_filter( 'wp_mail_from_name', function ( $original_email_from ) {
	return 'Tim Smith';
} );


Add a Comment