Support » Fixing WordPress » WordPress isn't sending registration email to new users, password recovery works

  • Resolved AndrewRO

    (@andrewro)


    I recently created a website with WordPress, the problem is that every time I or someone else tries to create an account, the registration email containing the password isn’t sent. The weird thing is that emails are sent from password recovery form and from plugins like ‘Contact Form With Captcha‘ and ‘Q&A Lite’ (which uses wp_mail function to notify users if someone else has answered their question).
    Is there a bug in this version of WP or maybe one of my plugins is screwing up my mail function (though I doubt it)?

Viewing 3 replies - 1 through 3 (of 3 total)
  • So, after I did a lil’ bit of research, I found out that when a new user registers, the function wp_new_user_notification is used to send the password via e-mail. That function is located in wp-includes/pluggable.php that -for some reason- isn’t included in wp-login.php. Solved the problem by adding
    require( dirname(__FILE__) . '/wp-includes/pluggable.php' );
    in wp-login.php.

    Hi AndrewRO, I seem to be having a similar problem. When my users try to reset their passwords, they receive this email
    “Password successfully reset! An email containing a new password has been sent to the email address on file for your account. You may change this random password then re-login with your new password. Administrator”
    However, the email with the password is not being sent. Any advice will be highly appreciated.
    http://www.groaka.com

    esmi

    (@esmi)

    Forum Moderator

    As per the Forum Welcome, please post your own topic. Your problem – despite any similarity in symptoms – is likely to be completely different.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress isn't sending registration email to new users, password recovery works’ is closed to new replies.