I changed the email at Settings > General from me@gmail.com to info@mysite.com. It seems like the email didn’t change, although I received the confirmation email to change. I’m still receiving emails from me@gmail.com.
Do I still need to change the Administrator email under Users to info@mysite.com for the change to take effect?
Using WP 5.1.3
1 Answer
The email address that emails such as new user notification or password resets come “from” is not the same as the site’s admin email. While it’s possible to have the actual email address be the same for both of these, they are completely unrelated to each other.
In WP’s Settings > General, the “Administration Email Address” is the email address used to administer the site. This is saved in the WP db options table (wp_options
) as “admin_email”.
This value should not be confused with the “from” email address that emails going through wp_mail()
will come from (or appear to be coming from). These are two entirely different things.
If you want to change the address that emails come from, you need to do one of two possible things:
- Filter the “from” address for
wp_mail()
using thewp_mail_from
andwp_mail_from_name
filters. - Configure
wp_mail()
to send through an authenticated SMTP account or install a plugin to do it for you.
Update:
It sounds like you might already be using one of the two above methods to change the “from” address. You’ll need to update that accordingly if you’re changing the email address.