Results 1 to 3 of 3

Thread: Validate Email Username and Domain

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2003
    Location
    Metrowest Boston
    Posts
    11

    Question Validate Email Username and Domain

    Anyone have any Visual Basic 6 code that can be compiled into a COM object so I can validate an SMTP email address. I want to validate the DNS and the username portion of the address.

    What API's should I be looking at?

  2. #2
    Frenzied Member
    Join Date
    Jul 2002
    Posts
    1,370
    There are none. Unless you are sending mail on an intranet.

    For general SMTP stuff you have to hope that the server supports the finger protocol.

    What are you trying to do? Validating usernames and domains for email outside of your business is unusual.

  3. #3
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Newbury, UK
    Posts
    1,878
    Send a message to the address. If you get back a non-delivery message, then it was an invalid address.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width