Hello @cmg224,
The issue is just as you mentioned, the email security measures (SPF, DKIM) are blocking or flagging the email as spoofed or spam, and probably discarding it entirely.
For your case when you try to change the admin email, it sends a confirmation email from your WordPress mailer to the new email address. But if your site is sending emails with a From: address (Gmail) and not from your domain, the mail may not send.
To fix this, you might need to use a SMTP plugin to fix the configuration to send emails from either your domain’s SMTP server or an external email provider (Gmail).
You may also try these other methods (can be a bit technical and approached with caution):
1. Temporarily add a line to the wp-config.php file
Access your server via”https://wordpress.org/documentation/article/ftp-clients/“, or a file manager in your hosting account’s control panel, navigate to /wp-config add this linedefine('WP_SITE_ADMIN_EMAIL', 'newemail@yourdomain.com'); , just before the line that says /* That’s all, stop editing! Happy publishing. */. Save the file and then upload it. WordPress will now use this email as the admin email and for admin notifications. Remove the line after the email system is fixed.
2. Override the admin email in the database
Access the database from your hosting control panel through phpMyAdmin >wp_options. Locate the admin_email and edit the option_value to the email you intend to use. Save and WordPress will use the email without any confirmation required.
Kind Regards,
Erick
-
This reply was modified 4 months, 2 weeks ago by
r1k0.
Hey @cmg224
This might be issue with your email deliverability so check with your Authentication Email DNS records or need to work over the SMTP setup.
If you are having the host access then you can able to change it through database as well. Just access your wp_options folder and change the site admin email to your new email.
I would think that WordPress would FIX this problem! It can’t be that difficult!!!!!!!!!!