There is way to detect whether an email id is well-formed or not. Example [email protected]
is a well-formed email address, but this may or may not be valid email account.
def.com
here).If it is not valid then if we sent mail, we will get some delivery failure mail, maybe in some hours after sending the email.
I want to implement a similar concept. I want to verify if an email id belongs to a valid account, which will find out whether the account exists or not.
How to achieve it?
I think a better approach is to send an email and verify it the user activates the account.
And them he's verified.
You can check your database, every x
days, and remove all the old entries, like one that weren't validated more than one week ago.