• Resolved rikdegraaf

    (@rikdegraaf)


    Hi Everyone,

    When we changed the admin email in wordpress, the notification mails were still sent to the old admin email address.

    When trying to figure out how this was possible we looked at the database. We searched for the old admin email address and found out that in the “wp_options” table there is a record with the option name: “woocommerce_qwc_req_new_quote_settings”.

    The value of this record still had the old admin email address saved.

    So be aware that if your site goes from development to live and you change the admin email address, then you have to manually change the old address in this option!!!!!!

    I really like this plugin, but I think there should be a fix for this!

    • This topic was modified 6 years, 4 months ago by rikdegraaf.
    • This topic was modified 6 years, 4 months ago by rikdegraaf.
    • This topic was modified 6 years, 4 months ago by rikdegraaf.
Viewing 1 replies (of 1 total)
  • Plugin Author pinal.shah

    (@pinalshah)

    Hi @rikdegraaf,

    Thank you for writing here.

    Each of the emails sent from the plugin extend the WC_Email class. This means that all the email settings such as recipient, subject etc. are editable from WooCommerce->Settings->Emails.

    In a scenario where the admin modifies the email settings, a new record in the options table is created with the name ‘woocommerce_<email id>_settings’. This is done by WooCommerce.

    So, if you have modified any settings for the email (or simply saved them without making any changes) this record is created in the options table.

    In your case, I’m assuming you must’ve modified the email address on your development site. So, when you move to your production site, please update the recipient in WooCommerce->Settings->Emails-><Email name>. The same will be reflected in the options table in woocommerce_<email_id>_settings.

    Please do not modify the options table manually.

    I hope this helps.

    Pinal

Viewing 1 replies (of 1 total)
  • The topic ‘Admin email change’ is closed to new replies.