I''m writing some login/registration code that will send an activation e-mail to a user''s address. The easy way to do it is to send a standard HREF link, which nearly any modern mail reader will pick up on (and which can be cut and pasted if need be). However, an activation URL is not idempotent, and so in theory it oughta be a POST link. But there''s no good way to send a POST link in e-mail! I''m not sure if mail clients will process a form in HTML e-mail (or if they even should), but it''s certainly not cut-and-pasteable for those without HTML mail readers. Anyone found a satisfactory solution to this? Jay Levitt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
On 10/20/06, Jay Levitt <jay-WxwZQdyI2t0@public.gmane.org> wrote:> > I''m writing some login/registration code that will send an activation > e-mail to a user''s address. > > The easy way to do it is to send a standard HREF link, which nearly any > modern mail reader will pick up on (and which can be cut and pasted if > need > be). > > However, an activation URL is not idempotent, and so in theory it oughta > be > a POST link. But there''s no good way to send a POST link in e-mail! I''m > not sure if mail clients will process a form in HTML e-mail (or if they > even should), but it''s certainly not cut-and-pasteable for those without > HTML mail readers. > > Anyone found a satisfactory solution to this?Link to a confirmation and post from there? jeremy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
On Fri, 20 Oct 2006 17:52:43 -0700, Jeremy Kemper wrote:>> Anyone found a satisfactory solution to this? > > Link to a confirmation and post from there?Hmmm... works technically, but I''m not sure about the user experience there. Click here to activate your account, click here to REALLY activate your account... Sigh. Jay --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
On 21-Oct-06, at 8:00 AM, Jay Levitt wrote:> > On Fri, 20 Oct 2006 17:52:43 -0700, Jeremy Kemper wrote: > >>> Anyone found a satisfactory solution to this? >> >> Link to a confirmation and post from there? > > Hmmm... works technically, but I''m not sure about the user experience > there. Click here to activate your account, click here to REALLY > activate > your account... > > Sigh.Linking to a confirmation form is pretty standard and most users will have seen it before. In our application we go a step further and require them to click on the link in the email message then type in the password that was in the email. This is an attempt to avoid people guessing at urls and getting access without at least having access to the email address. Cheers, Bob> > Jay > > > >---- Bob Hutchison -- blogs at <http://www.recursive.ca/ hutch/> Recursive Design Inc. -- <http://www.recursive.ca/> Raconteur -- <http://www.raconteur.info/> xampl for Ruby -- <http://rubyforge.org/projects/xampl/> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---