Hello everyone,
thanks in advance for your replies. I am working on email address verification. can anyone tell me how can i find wether a particular email address already exist or not.
I want to make webservice for that
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
hitesh ahujaPosted Sep 25, 2011, 1:29 PM
hitesh ahujaPosted Sep 25, 2011, 1:29 PM
Prabhu RajaPosted Sep 25, 2011, 10:15 AM
Use the given link for your purpose. it may solve your problem but i am not sure.
Click Here
---------------------------------------------------
Thank you
hitesh ahujaPosted Sep 25, 2011, 8:54 AM
hitesh ahujaPosted Sep 24, 2011, 11:26 PM
Sam HobbsPosted Sep 24, 2011, 5:28 PM
There is not much you can do that is reliable. You could take the domain name and see if there is a mail server there.
Look at the commands for SMTP. SMTP is the standard for sending mail. There are commands you can use to check validity of an email address, but they do not always work the same for every server. They don't even work at all for some servers.
hitesh ahujaPosted Sep 24, 2011, 1:07 PM
read my comment..
thanks for ur worthy reply
hitesh ahujaPosted Sep 24, 2011, 1:01 PM
no..i dun want that type of verification,
see the situation is like dis.
i made a software for email extraction.
from which i collected 1000 email addresses from websites ,now i want to check how many of those email id's are already working.
means want to check whether all id's are of users or are dey fake,
second scenario is suppose i am buying email addresses from a particular person for some rupees.. definately i'll check wether they r working or not.
only this thing i want to check..
thanks in advance,
Prabhu RajaPosted Sep 23, 2011, 8:16 AM
You want to perform Verification or Validation ?
Verification involves in,
1) getting only username from user and send auto-generated password to their email.
2) Send a verification link to the user email and approve him/her only after verification
Validation involves in,
Whether the Given E-mail id String is valid email id or not.
Which one you want to perform?
Pravin MorePosted Sep 23, 2011, 7:48 AM
i hope you have some table of login information......so when you want to check perticular mail address for availability
then fetch that table from query if count=1 then its exist if count=0 then that mail is available to use....
check like this from query...............
public int CheckEmailAddress(string emailID)
{
SqlConnection con=new SqlConnection();
int count=0;
con.Open();
string query="Select count(vchMailID) from YourTableName where vchMailID= "+emailID;
SqlCommand dr=new SqlCommand(query,con);
SqlDataReader dr=cmd.ExecuteReader();
while(dr.Read())
{
count=Convert.ToInt32(dr[0]);
}
return count;
}
above will be your method for checking......and on your event of entering emailID call above method and it will return you count
then if count is 0 (zero) then its valid(available) emailID else not available....
method call:-
int cnt=CheckEmailAddress(textBox.Text);
if(count==0)
//your action for not available
else
//your action for available
hope it will help you.
Thanx,
Pravin.