How to restrict registration to specific email domains?

Related topic, may help some: