Hi,
I have a submit query page. I receive mails from invalid email id. How to confirm whether the users email id is valid.
Receive the mails from users only when the email id is valid or not receive the mails from invalid email id...
How can I check the email is valid or not before receiving the mail
Submit query
Moderator: General Moderators
Not to my knowledge.
You can test the address against the rules in rfc822. You can also test the mx record, http://de2.php.net/getmxrr. You can even ask the smtp server if it kindly informs you about the existence of an user account. But even if the first two tests succeed and if the smtp is willing to give you the information it doesn't tell you whether the address belongs to the user sending the request.
You can test the address against the rules in rfc822. You can also test the mx record, http://de2.php.net/getmxrr. You can even ask the smtp server if it kindly informs you about the existence of an user account. But even if the first two tests succeed and if the smtp is willing to give you the information it doesn't tell you whether the address belongs to the user sending the request.
Maybe I should hold my tongue, but I hope a lot of people read this:
FOLKS, PLEASE try to make your Subject lines bear some resemblance to what your post is about!
This Subject showed "Submit Query" -- the person is asking a question about validating email addresses!!!!!!!!!!!!!
[Sorry, but I feel better now.]
FOLKS, PLEASE try to make your Subject lines bear some resemblance to what your post is about!
This Subject showed "Submit Query" -- the person is asking a question about validating email addresses!!!!!!!!!!!!!
[Sorry, but I feel better now.]