Support » Plugin: Mail On Update » E-Mail Addresses resetet on update to newest version

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author kubi23


    That is correct. Please check the changelog.

    You mean this comes from version 5.0:

    – Notification is only send to users with update permission

    Is there any chance to set a notification to another mail adress than to send the notification to all admin users? We have some blogs with about 15 admin users but they should not get informed everytime there is an update.

    Plugin Author kubi23


    Sorry, just saw that i missed the notice in the changelog.

    The changes came with 5.2.0
    – Fixed slightly possible CSFR Bug

    The “Fix” was to remove the possible to speicify other e-mail adresses for recievers. As of version 5.2.0 the notification will go to all admin users.


    Can I just double check please?

    Your recent fix has removed the functionality to specify additional email addresses to be notified.

    You have said:

    As of version 5.2.0 the notification will go to all admin users.

    Does this mean that anybody who is set as “administrator” should get email notifications?

    I have several sites where I installed your plugin and it seems that whichever email address is in the email box on the WordPress settings page will get notifications (regardless of user level) and nobody else even if other people do have the administrator access level.

    I usually put a client’s own email address in there so that they get notified about comments etc but would want plugin update emails to come to me.

    Do you have any plans to fix it again / further please?



    Plugin Author kubi23



    The implementation after the fix greps the wp-option get_option(“admin_email”); and sends the notification to this address. Per WordPress Codex this “Retrieves the e-mail of the blog administrator”.

    Currently I have no time to refactore the function to its original handling with custom email addresses.

    You can of course downgrade to 5.1.0 – check the CVE ( if you can live with that.

    Thanks kubi.

    Not sure if I could 😉

    I like up to date plugins – hence why I used your plugn!

    Thanks anyway


    Same issue here too.
    I was wondering why I wasn’t getting email updates.

    Have to create some new admins on my sites now.
    If you can add back that functionality – choose where the emails go – that would be great.

    But great plugin – thanks

    This little workaround mails all admins, around line 195:

    function mailonupdate_listOfCommaSeparatedRecipients() {
    			//return get_option("admin_email");
    			$emails = array();
    			$admins = get_users('role=administrator');
    			foreach ($admins as $admin){
    				array_push($emails, $admin->user_email);
    			return implode($emails, ',');

    I must say, I don’t like that change, I administrate a lot of blogs, where the wordpress admin isn’t the person who updates the software, but we need that worpdress email admin set to an “official email address”, so I don’t get the mails anymore, instead a lot of other persons are spamed with it.

    I would like to see the option to enter an alternative address to come back, because it is and was a very helpful plugin, but it’s now missing pretty much all the functionality I used it for.

    Plugin Author kubi23


    The problem is that specifying an external email address is the hole bug in the first place. See

    Hello Pulk99 and all the others

    I share the very same problem.
    Clients are the WP-admin but I am the geek2rent to look after things.
    like an digital housekeeper.

    So I need to receive the emails on a different emailaddress

    I did read the link provided by kubi23 concerning the security issue.
    As I do not share the view that this is a real risk I took the liberty to put the very much desired code back into kubi23 plugin.

    It Works for me! just replace the content of mail-on-update.php
    with the code below.


    [ 429 lines of code moderated. Please use instead. ]

    Hello All,

    As I can’t post the FIX for the desired function here. I made it available via our server.

    Plugin Author kubi23


    No need for a Fix 😉 As I sad 4 month ago:

    “You can of course downgrade to 5.1.0 – check the CVE ( if you can live with that.”

    Hello Kubi23,

    Why downgrade? When I can use it inside the current version.
    Works neat! As to the concernes of security.
    The form can not be accessed in that way on my installations.

    The funktion to change or at least add an different email recipient is IMHO important – extremly usefull.

    I merely intended to help as I can understand the needs of those other supporters in their daily struggle in maintenance work.
    Also the Client side ( the actual admin ) gets bombarded with infos but fails to forward them.

    Till now I had manually hack in a different mail recipient – which gets overruled by every new release.
    e.g. (I went for the lasy tweak in the past.)
    //notifier list
    function mailonupdate_
    listOfCommaSeparatedRecipients() {
    // return get_option(“admin_email”);
    return (string) “”;

    just to explain my intentions

    Greetings from

    ok, what about specifying a wordpress user who can recieve the update mails, so only already registered users (with admin rights) can be selected.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘E-Mail Addresses resetet on update to newest version’ is closed to new replies.