I am using Snitz in an intranet and would like to ONLY allow people who use one of our company domain names in their email address to register. All other email addresses should result in an error message.
I have the following pseudo-code added to the register.asp page on line #289:
if (EmailField(Reguest.Form("Email")) <> "allowed1.com") AND (EmailField(Reguest.Form("Email")) <> "allowed2.com") then
Err_Msg = Err_Msg & "<li>You MUST use a valid domain name in your email address.</li>"
end if
Can anyone help me out with the ASP to do this?