WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress isn't sending registration email to new users, password recovery works (4 posts)

  1. AndrewRO
    Member
    Posted 1 year ago #

    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)?

  2. AndrewRO
    Member
    Posted 1 year ago #

    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.

  3. aimmnow
    Member
    Posted 1 year ago #

    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

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic