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. General Programming
  3. C#
  4. Validating Email

Validating Email

Scheduled Pinned Locked Moved C#
helptutorial
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.
  • U Offline
    U Offline
    User 3055467
    wrote on last edited by
    #1

    Hi, can any one tell me how to check whether an email id entered by a user is a valid one or not. I think it should be done using socket programming. I don't have any idea in socket programming. Kindly help me in solving this problem.

    J U 2 Replies Last reply
    0
    • U User 3055467

      Hi, can any one tell me how to check whether an email id entered by a user is a valid one or not. I think it should be done using socket programming. I don't have any idea in socket programming. Kindly help me in solving this problem.

      J Offline
      J Offline
      Jeeva Jose
      wrote on last edited by
      #2

      Please use regular Expression.

      Continue...

      1 Reply Last reply
      0
      • U User 3055467

        Hi, can any one tell me how to check whether an email id entered by a user is a valid one or not. I think it should be done using socket programming. I don't have any idea in socket programming. Kindly help me in solving this problem.

        U Offline
        U Offline
        User 3055467
        wrote on last edited by
        #3

        Hi, Email validation means not using Validation Controls in ASP.NET. I want to check whether the domain and that emailid exist or not. Suppose a user has entered an email like asd@yahoo.com In that I want to check whether that domain exist or not. Afterwards I want to check whether that email exist or not.

        D 1 Reply Last reply
        0
        • U User 3055467

          Hi, Email validation means not using Validation Controls in ASP.NET. I want to check whether the domain and that emailid exist or not. Suppose a user has entered an email like asd@yahoo.com In that I want to check whether that domain exist or not. Afterwards I want to check whether that email exist or not.

          D Offline
          D Offline
          DaveyM69
          wrote on last edited by
          #4

          The best I've managed to do in the past is look up the MX record for the domain - if one returns then it's about as close as you can get. Goole for MX record and C#. This[^] looks promising.

          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