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. how to check whether the domain name in email id correct

how to check whether the domain name in email id correct

Scheduled Pinned Locked Moved ASP.NET
tutorial
2 Posts 2 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.
  • C Offline
    C Offline
    chithra r
    wrote on last edited by
    #1

    hi all i want to validate the email id field in my application.can anyone tell me how to check(in coding)the domain name which the user has specified is valid domain name and also the email id is valid.

    pintoo

    R 1 Reply Last reply
    0
    • C chithra r

      hi all i want to validate the email id field in my application.can anyone tell me how to check(in coding)the domain name which the user has specified is valid domain name and also the email id is valid.

      pintoo

      R Offline
      R Offline
      rihdus
      wrote on last edited by
      #2

      hi, there? Generally, Regular Expressions for email are used to validate the syntax. But if you vant to validate one active domain, you can try to connect/ping with the domain entered. You can do it easily at server side code, but it may take a little time to respond. pls refer to System.Diagnostic library for relevant methods.

      Any systematic work reflects its significance for a long time. So let's discuss the best...

      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