ButlerBlog

chad butler's weblog

  • About
  • Blog
  • WordPress Plugins
  • Contact

WordPress Email Settings: Changing the wp_mail address with a simple plugin

By Chad Butler 13 Comments

The ability to customize WordPress email settings in the admin panel is essentially non-existent.  So what if you want to change the default email address that WordPress sends email from.  Generically this is wordpress@yourdomain.com, and who wants that?  I know I don’t.  You probably don’t either.

In a previous post, I discussed how you can change your WordPress email settings to change this address with a simple filter snippet added to your theme’s functions.php file.  That’s my preferred method of customizing WordPress.

But what if you are a person that prefers the ease of loading a plugin to do your bidding? Well, adding these filters as a plugin is as simple as taking those filters, applying the appropriate plugin header, saving it as a php file, and loading it to your plugins folder.

Note: this particular process does not make use of admin panels.  While that makes for a nice interface for your WordPress email settings, it would also add needed bloat to the file. Simple edits to the email settings for the email address and name prior to saving is all you need for this project.  This results in a light weight and efficient plugin with the email settings you need.

I have created a code snippet you can use for this “quick-and-dirty” email settings plugin.  To implement, follow these steps:

  1. Save this file as a .php file.
  2. Open it in your favorite editor (or notepad).
  3. Change the email name and address in the functions to the name and address you want your email coming from.
  4. Save your changes.
  5. Load to your plugin folder.

There are several other plugins that can manage WordPress email settings with more features, so if that is what you are looking for, by all means, search the wordpress.org plugin directory.  But if you want something simple and light, this will do the trick!

For more information on testing, troubleshooting, and changing your WordPress email configuration for wp_mail, here are some additional posts:

  • Testing your WordPress email settings for the wp_mail function – some information on wp_mail and a testing script you can use to make sure it is sending messages.
  • Troubleshooting wp_mail WordPress Email Configuration – not everything that can go wrong is directly a problem with WP. This post has information on host restrictions and other outside problems that should be checked.
  • Changing the wp_mail from address in WordPress without a plugin – provides a simple code snippet you can use to change the email address that WordPress sends from, no plugin required.
  • Easy SMTP email settings for WordPress – how to change your WordPress email configuration to send email from a valid SMTP server with a simple script, no plugin required.
  • Facebook
  • Twitter
  • Email
  • Print
  • More
  • LinkedIn
  • Reddit
  • Tumblr
  • Pocket
  • Pinterest

Filed Under: Blogging Tips, WordPress, WP-Members Tagged With: email, email configuration, functions, plugins, tips, WordPress, WP-Members, wp_mail

Join Us!

I will never share your information. No spam. No junk. No kidding. Unsubscribe anytime.


Recent Posts:

  • The Right Product at the Right Time
  • Top 3 Time Wasters Keeping You From Success
  • Top 8 Tips to Create Your Own Website Easily With WordPress
  • How to Fix wp_mail Settings for WordPress Email
  • 7 Reasons Why Social Networking Can Help Your Business
  • Understanding WordPress wp_mail and how to fix it
  • Prevent WordPress email sent to spam with this
  • Easy wp mail SMTP settings for WordPress
  • The Importance of Supporting Developers of Free Open Source Software
  • How to Run an Effective Meeting





Archives

  • About
  • Blog
  • Archive
  • Contact

Site powered by WordPress, running on the Genesis Framework from StudioPress.

Unless otherwise noted, content on this site is © 2006-2021 ButlerBlog and may not be reproduced without express written permission from the author.

Some content may include affiliate links for which this site receives a small commission.

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.