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. ASP.NET
  4. Verify Live Email Address exists or not

Verify Live Email Address exists or not

Scheduled Pinned Locked Moved ASP.NET
comhelp
9 Posts 7 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.
  • S Offline
    S Offline
    shaileshgurav
    wrote on last edited by
    #1

    I want to check whether entered email id (eg. xyz@ymail.com, abc@rediffmail.com etc) is already exists or not. I dont want to use any third party payable tool or dll in software. Please help me out.

    D L Richard DeemingR L D 6 Replies Last reply
    0
    • S shaileshgurav

      I want to check whether entered email id (eg. xyz@ymail.com, abc@rediffmail.com etc) is already exists or not. I dont want to use any third party payable tool or dll in software. Please help me out.

      D Offline
      D Offline
      Debojyoti Saha
      wrote on last edited by
      #2

      Which language you want to code it?

      1 Reply Last reply
      0
      • S shaileshgurav

        I want to check whether entered email id (eg. xyz@ymail.com, abc@rediffmail.com etc) is already exists or not. I dont want to use any third party payable tool or dll in software. Please help me out.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Exists where?

        1 Reply Last reply
        0
        • S shaileshgurav

          I want to check whether entered email id (eg. xyz@ymail.com, abc@rediffmail.com etc) is already exists or not. I dont want to use any third party payable tool or dll in software. Please help me out.

          Richard DeemingR Offline
          Richard DeemingR Offline
          Richard Deeming
          wrote on last edited by
          #4

          The only way to verify whether an email address actually exists is to send a message to it. (The SMTP specification includes a verb to verify (VRFY) an address without sending a message, but most servers turn it off for security reasons[^].) Include a random one-time-use link to a page on your site which marks the address as "verified" when the user clicks on it. Implement the Registration Verification Pattern[^] Sending email verification link to activate profile c# | StackOverflow[^]


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

          Kornfeld Eliyahu PeterK 1 Reply Last reply
          0
          • Richard DeemingR Richard Deeming

            The only way to verify whether an email address actually exists is to send a message to it. (The SMTP specification includes a verb to verify (VRFY) an address without sending a message, but most servers turn it off for security reasons[^].) Include a random one-time-use link to a page on your site which marks the address as "verified" when the user clicks on it. Implement the Registration Verification Pattern[^] Sending email verification link to activate profile c# | StackOverflow[^]


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            Kornfeld Eliyahu PeterK Offline
            Kornfeld Eliyahu PeterK Offline
            Kornfeld Eliyahu Peter
            wrote on last edited by
            #5

            Richard Deeming wrote:

            The only way to verify whether an email address actually exists is to send a message to it.

            I would say, the only way to verify whether an email address actually exists is to receive a message from it...And also that is just for the moment...

            Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

            "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

            Richard DeemingR 1 Reply Last reply
            0
            • S shaileshgurav

              I want to check whether entered email id (eg. xyz@ymail.com, abc@rediffmail.com etc) is already exists or not. I dont want to use any third party payable tool or dll in software. Please help me out.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              That information is not stored in a single location; they are created on a mailserver, and those do not provide a public list. That is why the send-link-pattern was mentioned; it is the only way to verify whether an address is actually in use.

              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

              1 Reply Last reply
              0
              • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                Richard Deeming wrote:

                The only way to verify whether an email address actually exists is to send a message to it.

                I would say, the only way to verify whether an email address actually exists is to receive a message from it...And also that is just for the moment...

                Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                Richard DeemingR Offline
                Richard DeemingR Offline
                Richard Deeming
                wrote on last edited by
                #7

                Receiving a message from an email address doesn't necessarily mean the address exists. :)


                "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                1 Reply Last reply
                0
                • S shaileshgurav

                  I want to check whether entered email id (eg. xyz@ymail.com, abc@rediffmail.com etc) is already exists or not. I dont want to use any third party payable tool or dll in software. Please help me out.

                  L Offline
                  L Offline
                  lokerjobindo
                  wrote on last edited by
                  #8

                  Checking email addresses for validity is a tricky process. EmailValidator.Net has made this process incredibly simple and powerful. The only correct way to verify an email address exists is to send a mailbox an email and see if you receive a bounce back email or NDR (Non-Deliverable Receipt). EmailValidator.Net validate email addresses WITHOUT sending an actual email.ss C# code sample : protected void LinkButton1_Click(object sender, System.EventArgs e) { // We create our Mail Validator Object Codicode.Emailvalidator Ev = new Codicode.Emailvalidator(); // Sender email (for smtp identification) Ev.Mail_From = "admin@monoprog.com"; // Sender email (for smtp identification) bool Valid_Email = Ev.Check_Mailbox(Textbox1.Text); } protected void LinkButton2_Click(object sender, System.EventArgs e) { // We create our Mail Validator Object Codicode.Emailvalidator Ev = new Codicode.Emailvalidator(); // Sender email (for smtp identification) string[] Mx_Records = Ev.FindMXRecords(Textbox1.Text); } thanks sign Lowongan Kerja S1

                  1 Reply Last reply
                  0
                  • S shaileshgurav

                    I want to check whether entered email id (eg. xyz@ymail.com, abc@rediffmail.com etc) is already exists or not. I dont want to use any third party payable tool or dll in software. Please help me out.

                    D Offline
                    D Offline
                    Daniel Miller
                    wrote on last edited by
                    #9

                    I understand your reluctance to use third-party tools, because I encountered a very similar problem (with very similar requirements) working on a project for one of my customers. Email verification is a complex process, and it requires several validation levels: 1. The email address itself must have the correct syntax, so a regular expression check is needed. 2. The email address must reference a valid domain name, so a DNS query is needed. 3. The email address must reference a domain name that accepts mail server connections, so an SMTP connection is needed. 4. The email address must reference a valid inbox on the receiving mail server, so a send (or send attempt) is needed. You don't have to use the components from this particular developer, but you might his descriptions of the above levels sufficiently detailed to implement your own solution using your own code. Refer to the section titled "Understanding Validation Levels" on this page: http://www.afterlogic.com/mailbee-net/docs/getting_started_with_address_validator.html[^] Speaking from my own experience, it is certainly possible to write the code to implement all four validation levels, but it turned out to be too expensive and too time-consuming for my customer, and so I was able to convince them to license software components from that developer.

                    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