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. Email Validation

Email Validation

Scheduled Pinned Locked Moved ASP.NET
databasesales
8 Posts 5 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
    Sarfaraj Ahmed
    wrote on last edited by
    #1

    Hello Everybody I want to valid customer email address. What I have done so far is follows: 1. I have kept new customer details into my database 2. Also I have added a column (name emailValidation, data type bit) into customer table 3. Initially it will be 0 4. After validation it will be 1 What I want to do is: 1. After resistered I want to send an auto email to customer where I want to send a link to active his or her account. 2. When they click that link I want to change emailValidation column to 1 Please tell the best way to do it. Thanks in Advance Sarafarj

    Sarfarj Ahmed

    C N R 3 Replies Last reply
    0
    • S Sarfaraj Ahmed

      Hello Everybody I want to valid customer email address. What I have done so far is follows: 1. I have kept new customer details into my database 2. Also I have added a column (name emailValidation, data type bit) into customer table 3. Initially it will be 0 4. After validation it will be 1 What I want to do is: 1. After resistered I want to send an auto email to customer where I want to send a link to active his or her account. 2. When they click that link I want to change emailValidation column to 1 Please tell the best way to do it. Thanks in Advance Sarafarj

      Sarfarj Ahmed

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Create a guid or some other unique key you can associate with the email. Put that on the URL in the email you send, so when they click on it, you can look up the email address and mark it as validated.

      Christian Graus Driven to the arms of OSX by Vista.

      S 2 Replies Last reply
      0
      • S Sarfaraj Ahmed

        Hello Everybody I want to valid customer email address. What I have done so far is follows: 1. I have kept new customer details into my database 2. Also I have added a column (name emailValidation, data type bit) into customer table 3. Initially it will be 0 4. After validation it will be 1 What I want to do is: 1. After resistered I want to send an auto email to customer where I want to send a link to active his or her account. 2. When they click that link I want to change emailValidation column to 1 Please tell the best way to do it. Thanks in Advance Sarafarj

        Sarfarj Ahmed

        N Offline
        N Offline
        N a v a n e e t h
        wrote on last edited by
        #3

        Here is another suggestion. Read this[^] article. It talks about a different approach for user account verification. :)

        Navaneeth How to use google | Ask smart questions

        1 Reply Last reply
        0
        • S Sarfaraj Ahmed

          Hello Everybody I want to valid customer email address. What I have done so far is follows: 1. I have kept new customer details into my database 2. Also I have added a column (name emailValidation, data type bit) into customer table 3. Initially it will be 0 4. After validation it will be 1 What I want to do is: 1. After resistered I want to send an auto email to customer where I want to send a link to active his or her account. 2. When they click that link I want to change emailValidation column to 1 Please tell the best way to do it. Thanks in Advance Sarafarj

          Sarfarj Ahmed

          R Offline
          R Offline
          Ranjit Viswakumar
          wrote on last edited by
          #4

          I have seen this free .NET library that is designed for this very occasion- http://www.sharewareconnection.com/-net-email-validation-library.htm[^] It does a lot of different things so you should be able to make it work with your implementation. Try it out!

          Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

          1 Reply Last reply
          0
          • C Christian Graus

            Create a guid or some other unique key you can associate with the email. Put that on the URL in the email you send, so when they click on it, you can look up the email address and mark it as validated.

            Christian Graus Driven to the arms of OSX by Vista.

            S Offline
            S Offline
            Sarfaraj Ahmed
            wrote on last edited by
            #5

            Thank you very much it does make sense to me.

            Sarfarj Ahmed

            1 Reply Last reply
            0
            • C Christian Graus

              Create a guid or some other unique key you can associate with the email. Put that on the URL in the email you send, so when they click on it, you can look up the email address and mark it as validated.

              Christian Graus Driven to the arms of OSX by Vista.

              S Offline
              S Offline
              Sarfaraj Ahmed
              wrote on last edited by
              #6

              as i understood is: 1. Send Mail using coustomer email address including guid 2. Example: I have send an email to a customer where I have attached a url address 3. url addrss: http://www.mycompnay.co.uk/customeremailaddres/936DA01F-9ABD-4d9d-80C7-02AF85C822A8 my question is: that url is not exists into my system. so how can i can valid customer email address please tell me more about email varification

              Sarfarj Ahmed

              A 1 Reply Last reply
              0
              • S Sarfaraj Ahmed

                as i understood is: 1. Send Mail using coustomer email address including guid 2. Example: I have send an email to a customer where I have attached a url address 3. url addrss: http://www.mycompnay.co.uk/customeremailaddres/936DA01F-9ABD-4d9d-80C7-02AF85C822A8 my question is: that url is not exists into my system. so how can i can valid customer email address please tell me more about email varification

                Sarfarj Ahmed

                A Offline
                A Offline
                Abhijit Jana
                wrote on last edited by
                #7

                Sarfaraj Ahmed wrote:

                3. url addrss: http://www.mycompnay.co.uk/customeremailaddres/936DA01F-9ABD-4d9d-80C7-02AF85C822A8

                I think you can do like following : Make the url like http://www.mycompany.co.uk?custId=customer@mail.com&GUID=936DA01F-9ABD-4d9d-80C7-02AF85C822A8 While sending the Mail To Customer insert the mail id and Guid in DB or in a storage CustID GUID --------- ---------- customer@mail.com 936DA01F-9ABD-4d9d-80C7-02AF85C822A8 Now, When user Click on that url, he will comes to your sites, now you can retrieve CusID and GUID from query string. and validate with database if valid then you can also remove the entry from database too. This is just my idea.

                cheers, Abhijit CodeProject MVP My Recent Article : Exploring Session in ASP.Net

                S 1 Reply Last reply
                0
                • A Abhijit Jana

                  Sarfaraj Ahmed wrote:

                  3. url addrss: http://www.mycompnay.co.uk/customeremailaddres/936DA01F-9ABD-4d9d-80C7-02AF85C822A8

                  I think you can do like following : Make the url like http://www.mycompany.co.uk?custId=customer@mail.com&GUID=936DA01F-9ABD-4d9d-80C7-02AF85C822A8 While sending the Mail To Customer insert the mail id and Guid in DB or in a storage CustID GUID --------- ---------- customer@mail.com 936DA01F-9ABD-4d9d-80C7-02AF85C822A8 Now, When user Click on that url, he will comes to your sites, now you can retrieve CusID and GUID from query string. and validate with database if valid then you can also remove the entry from database too. This is just my idea.

                  cheers, Abhijit CodeProject MVP My Recent Article : Exploring Session in ASP.Net

                  S Offline
                  S Offline
                  Sarfaraj Ahmed
                  wrote on last edited by
                  #8

                  Thanks a lot. I will follow the information. If I get any problem I will let you know. Thanks Again

                  Sarfarj Ahmed

                  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