MyBB Community Forums

Full Version: Don't send registration email (admin activation)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've hooked datahandler_user_validate to do some additional user registration validation. The problem is that even though I do $userhandler->set_error('rejected for whatever reason'); and hence the user does not exist, I (forum admin) do get an email notification (newregistration_message) that a user has registered. What can I do to not receive this email.
So you're saying you get taken back to the registration form, it displays your error, you get the email, but the user doesn't exist in the database?
I didn't yet try to register myself, but when users have done so, their user does not exist and I did get the email.