help!! I need to verify email patterns
Im writing a mail subscription program, but I dont want my monthly newsletter to receive undeliverable mail each time I send it out to all my subscribers.
Is there any way to
1)firstly check the pattern of the email address
2)then check if the domain it resides at is active???
I know there is a way to test patterns, like email addresses but I dont know how to do it in Java. Any help on this would be much appreciated,
July 18th, 2001, 10:04 PM
well, it could be quite easy to do so. you have to do a little bit of string manipulations.
however, i believe, the best is to change the process:
ask the user for email, and send an email to this email address. then ask them to confirm the email address by clicking on the URL in the email (with a unique identifier for this user).
this solves a lot problems. you probably remember how you registered at these forums.