Is there a way to reliably get a unique email address from one entered from a user? The problem is in services such as GMail, which allow you to specify a period in the address and delete it, while with other services this is not so.
GMail:
chad.moran@gmail.com
c..hadmoran@gmail.com
c.h.a.d.m.o.r.a.n@gmail.com
They are all the same
Other service:
chad.moran@---.com
c..hadmoran@---.com
They are unique.
Besides special logic, specially for GMail, is there a better way?
source
share