Problem with confirmation emails
-
Hello.
when I add an email address separated by a comma and click save changes I get a message that I first receive an confirmation email and have to click on it to allow changing the email address.
But this email does not arrive and I get an unavailable message;
failed: myadress@website.comnewadresswebsiten.com
How can I solve this?
-
Hello Terry,
It seems to me that you have put a non existent email address as your admin email, and now, trying to change it (regardless of my plugin), and wordpress asks that you first confirm that change using your old (and non-existent) email address.This feature is to prevent site hijacking/takeovers.
If you have access to your database, you may change the email address once to an existing email address.if you have no programming knowledge, I would suggest you ask your hosting provider to fix that for you, if they will.
Hello daberelay,
it is not a non existent email address.
An example: With 1 email address myname@mysite.com
This is a valid address and I receive a confirmation email, I click on the link and my email address is changed.
Next one, only 1 email change to myother@mysite.com. The same procedure and my address will be changed.
Now the following: myname@mysite.com,myother@mysite.com
Again a confirmation email will be sent but now to this address:
<myname@mysite.commyothermysite.com>
failed: mynamemysite.commyothermysite.com:
500 DNS error: Permanent DNS error resolving MX for mynamemysite.commyothermysite.com (NXDOMAIN)I tested this and at WordPress 4.8.3 it is working correct (no confirmation email required). Only on WordPress 4.9 it goes wrong
Thank you Terry, Investigating, will revert with answer.
Hello Terry,
I’ve updated the plugin, and now it works fine. you should notice that due to WP 4.9 new behavior, I had to add another field to the General Settings, so now you have “Multiple Admin Emails” field down the bottom of the page, you can set it, and it will set the admin email field as well.
don’t forget to rate me 😉
Hello daberelay,
first thanks because you wanted to look at this!
But, I’ve noticed the following: I do not get an automatic notification that your plugin has been updated. I have now downloaded it manually.
My installed version was 1.0.
The download zip says multiple-admin-email-addresses.1.0.2.zipI have installed this but the note remains Version: 1.0 and no change in the General settings
Update:
after I had installed the other version I received my admin emails at two addresses.
In the General – Settings – Admin email is only 1 address. I know that I experimented with it so I have looked into the database and found this in the table wp_options:
a:4:{s:4:"type";s:7:"success";s:5:"email";s:49:"myadreass@mysite.com, otheradress@mysite.com";s:7:"version";s:5:"4.8.3";s:9:"timestamp";i:1509523429;}
Mind you, in the General Settins it now shows only 1 email address.
I hope this helps
- This reply was modified 6 years, 4 months ago by terry789.
Another update.
Forget the comment in the message above about the table wp_options. This was my fault, sorry. Also used by another plugin.
In the wp_options table the admin_email only has 1 email address.
Hi Terry,
I’m not sure why, but I’ve uploaded and committed a v1.1 – no idea why it is not being shown 🙁
As per the wp_options table – I don’t actually change the admin_email in wp_options, but I override the result when someone query’s about this value.
you should find another option called “multiple_admin_emails” and it should contain the actual value that would be used.
Hello daberelay,
see your plugin frontpage https://wordpress.org/plugins/multiple-admin-email-addresses/ It shows Version: 1.0 The download link on this pages gives: multiple-admin-email-addresses.1.0.2.zip
Is there another place where I can download v1.1?
Ok, I think i covered all the places that states the plugin version and got it all in sync.
you should be able to download version 1.1.2 now.
let me know if it finally works
thanks for your patience!
- This reply was modified 6 years, 4 months ago by daberelay.
Hello daberelay,
It took a while before I understood how this works….. 🙂
You may need to adjust the explanation by this plugin on how to use it.
You must NOT use the WP default e-mail field anymore!
Your new email field (Multiple Admin Emails) is at the bottom of the General – Settings – page and you do not see this immediately.
When I place the multiple e-mails separated by a comma in this new field and Save changes it works correct and also the default e-mail field is then correctly adjusted. And everything works perfectly!
Man, thank you very much for your update and yes I give you a rating!
I did update the description, and also warned you here on the new field 🙂
anyway, glad it works now.
- The topic ‘Problem with confirmation emails’ is closed to new replies.