Sure! Here’s a blog post based on the WPBeginner article about changing the sender name and email address in outgoing WordPress emails, written in a clear and friendly tone
:
How to Change the Sender Name and Email Address in WordPress Emails
When WordPress sends out email notifications — like new user registrations, password resets, or contact form submissions — it uses a default sender name and email address. By default, these are often “WordPress” and something like [email protected].
That looks a bit impersonal and can even trigger spam filters.
In this post, we’ll show you how to change the sender name and email address in WordPress emails to something more professional — like your company name and a real email address. You’ll also learn how to make sure your emails reach the inbox reliably.
Let’s dive in!
Why Change the Default WordPress Email Settings?
Here are a few reasons why customizing your WordPress email settings is important:
- Professional branding: “WordPress” as the sender name doesn’t inspire trust. Using your business name looks more legit.
- Better deliverability: Many hosting setups send emails from
wordpress@
, which can end up in spam folders. - More trust from users: People are more likely to open an email that clearly comes from your company.
Method 1: Change Sender Name and Email Using WP Mail SMTP
The easiest and most reliable way to change WordPress email settings is by using the WP Mail SMTP plugin. It lets you set a custom “From Name” and “From Email” — and even helps route your emails through trusted SMTP providers like Gmail, SendLayer, Sendinblue, and others.
Step-by-Step Instructions:
1. Install WP Mail SMTP
- Go to your WordPress dashboard.
- Navigate to Plugins > Add New.
- Search for “WP Mail SMTP”, install it, and activate the plugin.
2. Configure Your Email Settings
- Go to WP Mail SMTP > Settings.
- Under the General tab, enter:
- From Email: e.g.,
[email protected]
- From Name: e.g.,
Your Business Name
- From Email: e.g.,
3. Set Up SMTP for Better Email Deliverability (Recommended)
- Scroll down to choose your Mailer (e.g., Gmail, SMTP.com, SendLayer, etc.).
- Follow the setup wizard to connect your WordPress site to your email provider.
SMTP ensures your emails are authenticated and far less likely to land in spam.
Method 2: Change Sender Name and Email Using Code (Developers Only)
If you don’t want to install a plugin, you can add a code snippet to your theme’s functions.php
file or a custom plugin. But be careful — a mistake here can break your site.
Here’s an example:
// Change the default sender name
add_filter('wp_mail_from_name', function($name) {
return 'Your Business Name';
});
// Change the default sender email address
add_filter('wp_mail_from', function($email) {
return '[email protected]';
});
Important: If you’re using contact form plugins like WPForms or Contact Form 7, they may override these values unless you force them via plugin settings or similar hooks.
Bonus Tips to Improve Email Deliverability
Changing the sender name and email is a good start, but for even better performance:
- Use a domain-based email: Avoid
@gmail.com
— use@yourdomain.com
instead. - Authenticate your domain with SPF, DKIM, and DMARC records.
- Test your emails using tools like Mail Tester to check for spam triggers.
- Monitor your contact forms to ensure messages are being sent and received properly.
Wrapping Up
Setting a custom sender name and email address in WordPress emails is an easy but powerful way to look more professional and ensure your messages actually reach people.
If you want the easiest and most reliable method, WP Mail SMTP is highly recommended. It takes just a few minutes to set up and gives you total control over your WordPress email settings.
Have questions or need help setting it up? Drop them in the comments!
This website may contain affiliate links and display ads through Google Ads. We may earn a commission or advertising revenue at no extra cost to you, helping us keep our content free and up to date.