2 Replies Latest reply on Jun 29, 2010 3:20 AM by ciaranarcher

    e-mail and click to view quote

    cybertek23 Level 1


      We have a site which generates conveyancing quotes. We are trying to do the site so that when the user submits the form it e-mails them to click to verify. When they click this it will show there quotes. What is the best way of doing this as i am unsure.  thanks

        • 1. Re: e-mail and click to view quote
          Dan Bracuk Level 5

          Put an anchor tag in the email.  Make sure it has the necessary url variables.

          • 2. Re: e-mail and click to view quote

            I'd do this as follows:


            1. Submit form and create a UUID (i.e. a unique reference to the quote) and store the quote ID against it
            2. Send email with link back to your site, with UUID in the URL
            3. Confirm when link is pressed that you have a matching UUID, if so display the quote, otherwise an error


            This is better than having a link with raw database IDs in it, and no-one can guess the ID of a quote if they figure out your URL - the UUID offers a layer of security


            You can get more sophisticated than this if you for example hash values rather than using a UUID, but these are the basics.


            Hope that helps!