#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2001
    Posts
    0
    Rep Power
    0

    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,
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Location
    Toronto, Canada
    Posts
    13
    Rep Power
    0
    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.

IMN logo majestic logo threadwatch logo seochat tools logo