Home › Forums › Back End › Blocking free email accounts for online form › Re: Blocking free email accounts for online form
March 7, 2012 at 2:48 pm #98400
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. :)