|
-
May 24th, 2001, 04:36 AM
#1
Thread Starter
Member
Email address validator
Hi
I need to create an email validator
me thinks I will use Winsock?
Any ideas, tips, sourcecode appreciated.
thx
-
May 24th, 2001, 06:18 AM
#2
Black Cat
Check if there's a '@' and a '.' in order in the string. What exactly are you trying to do - It would be extremely difficult to determine if an address is a real, working address without emailing them a message asking them to reply and seeing what you get back.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
May 24th, 2001, 06:39 AM
#3
Thread Starter
Member
you said ------ :
It would be extremely difficult to determine if an address is a real, working address without emailing them a message asking them to reply and seeing what you get back.
This is exactly what I want to do - there are commercial apps out there but I need this functionality in my VB6 app.
-
May 24th, 2001, 11:15 AM
#4
Black Cat
There is an SMTP command (I think VRFY?) that allows you to check if an email address exists. You will have to look at the email address's domain, look up the mail server for that domain, and then connect to the mail server, issue the HELO command, then then command to verify the user name / email account. The problem is not all mail servers will support or correctly answer the command - they'll always verify any address.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|