Connecting Tech Pros Worldwide Forums | Help | Site Map

Email Validation

Newbie
 
Join Date: Sep 2008
Posts: 3
#1: Sep 30 '08
Iam using Smtp functions to validate the existing emails in the smtp server. and I used smtp responses 'HELO', 'Mail From', RCPT TO', here iam getting some times correct response from SMTPServer whether it is valid mail id or not. and some times iam getting wrong response. when iam using 'VRFY' command,its not working ? can i use to 'VRFY' to check the existing mail id or not? what is the solution..? and i would like to access the existing mail accounts from the server ...how?

Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#2: Sep 30 '08

re: Email Validation


VRFY is not supported on most systems.
Newbie
 
Join Date: Sep 2008
Posts: 3
#3: Oct 1 '08

re: Email Validation


for "RCPT TO:" command it's checking only domain name. for every mail id with correct domain,
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#4: Oct 1 '08

re: Email Validation


What is it that you are asking exactly?
Newbie
 
Join Date: Sep 2008
Posts: 3
#5: Oct 3 '08

re: Email Validation


for ex: if we give non existing account like xyz@yahoo.com. its giving the response 252.2.1.5 sender...ok. iam asking i want that response for only existing mail ids, other wise i want other response from the server
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#6: Oct 3 '08

re: Email Validation


You cannot do that. At least not practically.
SMTP servers generally will NOT respond with a bad message about failed user accounts, to prevent spam.
Send the emails out and require the user on the other end to respond and confirm their address.
That's pretty much the standard way to do it these days.
Reply