• I want to send an email verification email anytime that the user updates or changes their email on their profile. I just want to make sure their email is always valid. If you could help or point me in the right direction let me know.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I have one for when a user changes or updates his UM profile he receives an email notification :
    ======================================================================
    TITLE:
    Profile Updated at Your-Domain-Name

    BODY:
    Hello John Doe,

    Your profile has been updated!

    If you didn’t do this, please notify the site admin immediately.

    Thank you,

    Your-Domain-Name.com
    https://your-domain-name.com
    ======================================================================

    I hope this helps,

    • This reply was modified 8 years, 5 months ago by borisv.
    • This reply was modified 7 years, 9 months ago by Jan Dembowski.
    Thread Starter jperez4509

    (@jperez4509)

    @borisv, Not exactly what I am looking for but thanks. I just want to prevent my database from being updated with a fake email. I am currently trying to implement this code I found here: https://wordpress.stackexchange.com/questions/41730/confirmation-required-on-email-change

    If you have any other recommendation please let me know.

    So, you are saying that you want to prevent a user who registered with a legitimate email (assuming you are using regex) from changing it for an illegitimate one?

    Thread Starter jperez4509

    (@jperez4509)

    @borisv, That is correct.

    WP sends already an email verification to the user when the user changes his/her email.

    We could add code to send the admin a copy, but there is no way to check for an illegitimate email address within the script unless you want to connect the request to an external data base like Akismet.

    Otherwise, if one wants to change an email after registering for a BS email address, no one can stop a user from doing that. At the same time, a user with a BS address will never get any emails from your site which would be a bad thing for the user if your site is important to him in the first place…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Email verification on email update’ is closed to new replies.