WordPress plugin · BuddyPress family
BuddyPress Restrict Email Domains
Allow registration only from approved emails, domains or extensions such as .edu.
About This Plugin
WordPress Restrict Email Domains limits user registration on your WordPress or BuddyPress site by email. You can allow specific email addresses, whole domains or just domain extensions such as .edu or .com. It suits intranets, educational institutes and any site that should only let a subset of users register, and it helps fight spam.
Put .edu in the settings to allow only .edu addresses, or put your own domain to allow only your network. Enter one rule per line in lowercase under Settings, Restrict Email Domains. Regular expressions give it flexibility. You can edit the list of allowed domains and the error message.
It works with WordPress, WordPress Multisite, BuddyPress, BuddyBoss Platform, WooCommerce, Paid Memberships Pro, WP Members, UsersWP and Ultimate Member. With WooCommerce it restricts customer registration too.