Home » Blog » Changing the Default Outgoing WordPress Email Address

Changing the Default Outgoing WordPress Email Address

Today’s quick tip shows you how to programmatically change the outgoing WordPress email address to something other than “WordPress”.

By default WordPress will send outgoing emails to the “E-mail Address” set up in Settings > General in the format “WordPress <name@domain.com>”.

Business website owners don’t want to receive emails from “WordPress” – it should be set to their website name.

There are two filters you can use to change the email address and the email name associated with the address.

Copy the following code into your theme’s functions.php file.

Lines 1-6 Change the default outgoing WordPress email address.

Line 2 Change hello@mydomain.com to your preferred email address.

Lines 8-13 Change the name associated with the outgoing WordPress email address.

Line 9 Change My Business Website to whatever name you want the email address to be associated with.

Keep In Touch

Wil

Wil is a dad, consultant, developer, conference organiser, speaker and business mentor. He co-organizes the WordPress Sydney meetup group and has been on the orgnising committee for WordCamp Sydney since 2014. He speaks at many technical events and contributes to the WordPress open source project. His likes are chillies, craft beer and electrogravitics.

2 thoughts on “Changing the Default Outgoing WordPress Email Address”

  1. @disqus_OooX5XOCYK:disqus although I cannot confirm this works for me, as I have not attempted it yet, it looks good and it can also be built into a child theme very easily whereas i’m not so confident the way you recommend can be built into a child-theme.

    The Child theme can help you avoid the warning mentioned in the Logicom article:

    “every time you upgrade your wp you have to make this change again.”

    If I’m wrong, and you know how to build it into a child theme then please share.

Comments are closed.

If You Enjoyed This Post
Join Our Newsletter
Give it a try, you can unsubscribe anytime.
Close