Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. simple method to verify e-mail address?

simple method to verify e-mail address?

Scheduled Pinned Locked Moved Web Development
sysadminhelpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zhoujun
    wrote on last edited by
    #1

    The following snippet can be used to verify URL well and simply: Dim objHTTP Dim sHTML Set objHTTP = Server.CreateObject ("Microsoft.XMLHTTP") objHTTP.open "GET", strURL, False objHTTP.send sHTML=objHTTP.statusText if err or sHTML<>"OK" Then VerifyURL = False else VerifyURL = True End if Set objHTTP=nothing So are there any ways to verify e-mail addresses the same alike?I am not meaning the expression check,but the real e-mail address existence checking. I know cp has an article about it,but it's so complex to implement. Thanks. this is my signature for forums quoted from shog*9: I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.

    P 1 Reply Last reply
    0
    • Z zhoujun

      The following snippet can be used to verify URL well and simply: Dim objHTTP Dim sHTML Set objHTTP = Server.CreateObject ("Microsoft.XMLHTTP") objHTTP.open "GET", strURL, False objHTTP.send sHTML=objHTTP.statusText if err or sHTML<>"OK" Then VerifyURL = False else VerifyURL = True End if Set objHTTP=nothing So are there any ways to verify e-mail addresses the same alike?I am not meaning the expression check,but the real e-mail address existence checking. I know cp has an article about it,but it's so complex to implement. Thanks. this is my signature for forums quoted from shog*9: I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.

      P Offline
      P Offline
      Paul Watson
      wrote on last edited by
      #2

      zhoujun wrote: So are there any ways to verify e-mail addresses the same alike?I am not meaning the expression check,but the real e-mail address existence checking. I know cp has an article about it,but it's so complex to implement. Two ways I know of. One, send an command to the email addresses host server. There is some way of requesting the existence of an email address, not sure what it is though so look it up. Two, send an email to the email address with a link to your site which has a unique code which verifies the address. Much like many sites do e.g. "Welcome, to verify your account just click the link below" then it would flip a boolean field in the database saying "verified" or not. I would go with this method, more reliable.

      Paul Watson
      Bluegrass
      Cape Town, South Africa

      Colin Davies wrote: ...can you imagine a John Simmons stalker !

      Z 1 Reply Last reply
      0
      • P Paul Watson

        zhoujun wrote: So are there any ways to verify e-mail addresses the same alike?I am not meaning the expression check,but the real e-mail address existence checking. I know cp has an article about it,but it's so complex to implement. Two ways I know of. One, send an command to the email addresses host server. There is some way of requesting the existence of an email address, not sure what it is though so look it up. Two, send an email to the email address with a link to your site which has a unique code which verifies the address. Much like many sites do e.g. "Welcome, to verify your account just click the link below" then it would flip a boolean field in the database saying "verified" or not. I would go with this method, more reliable.

        Paul Watson
        Bluegrass
        Cape Town, South Africa

        Colin Davies wrote: ...can you imagine a John Simmons stalker !

        Z Offline
        Z Offline
        zhoujun
        wrote on last edited by
        #3

        Thanks,Paul. Can you give the details about how to implement the second way? Thanks. Maybe an article for cp. :) this is my signature for forums quoted from shog*9: I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.

        A 1 Reply Last reply
        0
        • Z zhoujun

          Thanks,Paul. Can you give the details about how to implement the second way? Thanks. Maybe an article for cp. :) this is my signature for forums quoted from shog*9: I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.

          A Offline
          A Offline
          Anonymous
          wrote on last edited by
          #4

          how can i test this, with c, php, asp???

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups