Questions & AnswersCategory: General QuestionsHow to Change the Sender Name of Outgoing Emails in WordPress
Osisanya Boluwatife asked 8 months ago

Last Updated on: 25th November 2018, 07:16 am

I guess many have found it very difficult and annoying to find solutions to change the name and mail ID of mails sent from your site to customers;
Where the name of your company shows WordPress and mail id are being revealed as [email protected]

Example.com – meaning your domain-name.extension

1 Answers
Osisanya Boluwatife answered 8 months ago

Firstly i want you to realize  that WordPress by default  uses ‘WordPress’ as it’s  sender name for all outgoing  notification emails.
Here, I will show you how to change the default sender name and email address in outgoing WordPress email.
Firstly; you would need to login to your web sever and please you would need to have a child theme for your website – reasons being; you would not want to lose custom changes to your work when an update arrives for that theme.
Secondly; You will need to add the following code into the child theme’s functions.php

Below is an inline of the code;

// Function to change email address
function wpb_sender_email( $original_email_address ) {
return ‘[email protected]’;
// Function to change sender name
function wpb_sender_name( $original_email_from ) {
return ‘Boundmix’;
// Hooking up our functions to WordPress filters
add_filter( ‘wp_mail_from’, ‘wpb_sender_email’ );
add_filter( ‘wp_mail_from_name’, ‘wpb_sender_name’ );
Lastly, Please do take note:
(Boundmix) – should be replaced with the name of your business
([email protected]) – should be replaced with the email address ID you wish to use
And there you have it, All done

Like it? Share with your friends!

Translate »
Twitch streamers
Choose A Format
Personality quiz
Series of questions that intends to reveal something about the personality
Trivia quiz
Series of questions with right and wrong answers that intends to check knowledge
Voting to make decisions or determine opinions
Formatted Text with Embeds and Visuals
The Classic Internet Listicles
The Classic Internet Countdowns
Open List
Submit your own item and vote up for the best submission
Ranked List
Upvote or downvote to decide the best list item
Upload your own images to make custom memes
Youtube, Vimeo or Vine Embeds
Soundcloud or Mixcloud Embeds
Photo or GIF
GIF format