myCFML Developer Blog - Articles · Apr 19, 2025
generateEmailHashCode UDF - Useful for identifying and blocking comment form abuse; SQL queries using INTs are faster
0Sign in to vote or save
This page did not load. You can still read it on the original site — the toolbar below keeps your place in the directory.
The generateEmailHashCode user-defined function (UDF) processes an email address by extracting the domain, sanitizing the username by removing periods (dots) and any part after the first ";+";, converting both parts to lowercase, and then returning a consistent Java-generated integer hash code of the resulting string.
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.