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 Find This is mail is Valid or not...!

How Find This is mail is Valid or not...!

Scheduled Pinned Locked Moved ASP.NET
comtutorial
7 Posts 6 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.
  • V Offline
    V Offline
    Virendrak
    wrote on last edited by
    #1

    I am sending mails to group of people at a time . if some of the mailids are not correct how to find out that id for further processing. like: nicevirendra@rediffmail.com is Valid a@a.asasa is Invalid How i Find This is....!

    Never Think That You Have Failed Instead Always Think That u hav Better Chance Next Time...

    S V D P C 6 Replies Last reply
    0
    • V Virendrak

      I am sending mails to group of people at a time . if some of the mailids are not correct how to find out that id for further processing. like: nicevirendra@rediffmail.com is Valid a@a.asasa is Invalid How i Find This is....!

      Never Think That You Have Failed Instead Always Think That u hav Better Chance Next Time...

      S Offline
      S Offline
      Sathesh Sakthivel
      wrote on last edited by
      #2

      Email validation

      SSK. Anyone who says sunshine brings happiness has never danced in the rain.

      1 Reply Last reply
      0
      • V Virendrak

        I am sending mails to group of people at a time . if some of the mailids are not correct how to find out that id for further processing. like: nicevirendra@rediffmail.com is Valid a@a.asasa is Invalid How i Find This is....!

        Never Think That You Have Failed Instead Always Think That u hav Better Chance Next Time...

        V Offline
        V Offline
        Vasudevan Deepak Kumar
        wrote on last edited by
        #3

        You can, at best, perform only syntax level validations. If you really want extremely good impeccable email addresses, you need to send a probing email asking the user to click a link and confirm. However, you can check out http://www.hexillion.com/[^]. They have something called EmailDossier. That should help you. Again, it depends on SMTP commands like VRFY, EXPN etc which most of the current SMTP servers might disable for spam-control and security reasons.

        Vasudevan Deepak Kumar Personal Homepage
        Tech Gossips
        A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

        1 Reply Last reply
        0
        • V Virendrak

          I am sending mails to group of people at a time . if some of the mailids are not correct how to find out that id for further processing. like: nicevirendra@rediffmail.com is Valid a@a.asasa is Invalid How i Find This is....!

          Never Think That You Have Failed Instead Always Think That u hav Better Chance Next Time...

          D Offline
          D Offline
          dilipv 0
          wrote on last edited by
          #4

          hi there, i seached on your post. But most of the people using Regex (Regular Expressions) for matching all the Email ID's but how to deal with illegal domain names as you given as a@a.asasa in this after the @ sign one cannot predict which domain is right. As we know there are more than thousand domain names also lots of new domain are existing but we don't know. So, According to me make list of relevant domain names which is relevant to your application. If you have any problem most welcome. Thanks & Regards Dilip Kumar Vishwakarma

          Programmer .Net Consulting

          1 Reply Last reply
          0
          • V Virendrak

            I am sending mails to group of people at a time . if some of the mailids are not correct how to find out that id for further processing. like: nicevirendra@rediffmail.com is Valid a@a.asasa is Invalid How i Find This is....!

            Never Think That You Have Failed Instead Always Think That u hav Better Chance Next Time...

            P Offline
            P Offline
            Paul Conrad
            wrote on last edited by
            #5

            You could use regular expressions.

            "I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon

            1 Reply Last reply
            0
            • V Virendrak

              I am sending mails to group of people at a time . if some of the mailids are not correct how to find out that id for further processing. like: nicevirendra@rediffmail.com is Valid a@a.asasa is Invalid How i Find This is....!

              Never Think That You Have Failed Instead Always Think That u hav Better Chance Next Time...

              C Offline
              C Offline
              Crooze21
              wrote on last edited by
              #6

              Use regular expression validator on the page. e.g. ValidationExpression="^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$" ControlToValidate="txtEmail" ErrorMessage="Invalid Email" Display="Dynamic" runat="server">

              1 Reply Last reply
              0
              • V Virendrak

                I am sending mails to group of people at a time . if some of the mailids are not correct how to find out that id for further processing. like: nicevirendra@rediffmail.com is Valid a@a.asasa is Invalid How i Find This is....!

                Never Think That You Have Failed Instead Always Think That u hav Better Chance Next Time...

                C Offline
                C Offline
                Crooze21
                wrote on last edited by
                #7

                Google for more regular expression, you will find bunch of regular expression to validate domain name too.

                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