The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Blocking free email accounts for online form Re: Blocking free email accounts for online form


Gotcha; makes perfect sense. I’m assuming, then, that students would send the messages using a school-based email address ([email protected] or somesuch). I’m definitely not a wizard when it comes to regular expressions, but I found this thread:

which seems to be along the lines of what you’re looking for. The final script in that thread excludes a certain domain, but if all the legitimate messages would come from one domain, you could also modify it to only accept that one domain.

Hope it helps. :)