Email Validation
I am checking the validation for email using regul开发者_高级运维ar expression its working fine for me. What if the user give some dummy mailid in the textbox?
How can i check whether the entered mail is valid or not without telling the user to login to that mail and click subscribe link?
Is it possible to check like this..
Thanks in advance
How can i check whether the entered mail is valid or not without telling the user to login to that mail and click subscribe link?
You can not. Point. Thanks to spammers no email server wil lbehave. Some will send you "user doesn ot exist" errors, some will even swallow them.
Plus, legally, youalso have to make sure the subscriber actually OWNS the mailbox, and is not entering someone else email.
The only way which i think is
Send an email to the specified email address , if you don't got a bounced email , email is valid provided by user
Without verifying that the user can actually read email, you can't ensure it's that user's real account.
Many domains accept all mail, and use it for spam analysis on invalid accounts, and a user can easily provide 'real' accounts they don't control. (eg: sales@example.com)
精彩评论