• I want to change my admin email address but never get the confirmation email.

    I think new email security measures are preventing that confirmation. Some long time ago I set the admin email address to my personal email (which is NOT in the domain of our web site). This has prevented emails from the site going out because the “From: admin” address is not in our domain. I want to change to a new email address within our domain, but I never get the confirmation email. I have tried this three times now, and each time the system says the change is pending confirmation.

    The new email address does work and is actively receiving emails from other accounts. It just never gets anything from WordPress.

Viewing 4 replies - 1 through 4 (of 4 total)
  • if you have access to the host or the control panel,you can change it directly in the database using phpmyadmin, like this:

    https://www.wpbeginner.com/beginners-guide/how-to-change-the-wordpress-admin-email/#aioseo-method-3-change-wordpress-admin-email-via-phpmyadmin

    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!!!!!!!!!!

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.