Quote:
Originally Posted by CAmaninacan
Hello, I am curious if their is a way to test to see if a email is legit and it's not mistyped wrong. I am thinking about using NSRange to check if their is a @ symbol and a .com/biz/net/etc. I would love to hear any other suggestions some of you may have.
|
You could do a DNS lookup to find out if the domain has an MX record - if it does then anything after the "@" is good. You cannot know about the before except by requiring the user to respond in some fashion to an email you send - barring cases where the service exposes profiles (e.g. Yahoo profiles).