How to do an email confirmation?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to do an email confirmation?

NHartl
Hi,
       
        I'm trying to implement some sort of email confirmation.
        The application should do the following:
       
        - display a form where a user can input his email address
        - send an email to the email address containing a link
          for confirmation
        - when this link is clicked do some operations and redirect
          afterwards to the default component/entry point in a special
          state
       
        I have a HomeComponent which displays the form, generates
        a key and an url and puts this together into an email
        and sends it. From the point of clicking the link in
        the email I've no glue how to accomplish the following
        tasks.
        I tried it with WAEntryPoint registered under a different
        url. So I could do some actions. But I have to come back
        to the default application. A simple redirect isn't
        sufficient as I have the need to pass some parameters to
        the default component (to activate a certain sub-component
        of the HomeComponent).
       
        Are there any best practices to do this kind of a task?
       
        thanks in advance,
       
        Norbert

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: How to do an email confirmation?

Yanni Chiu
Norbert Hartl wrote:
>         I'm trying to implement some sort of email confirmation.
[...]
>         Are there any best practices to do this kind of a task?

www.squeaksource.com has a "forgot your password" feature.
Browse the source for squeaksource (at squeaksource.com),
or install it then browse. Find the code that's used to
email a link that the user can use to recover their password,
and see if you can adapt it to your needs.

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: How to do an email confirmation?

NHartl
On Fri, 2006-11-17 at 22:33 -0500, Yanni Chiu wrote:

> Norbert Hartl wrote:
> >         I'm trying to implement some sort of email confirmation.
> [...]
> >         Are there any best practices to do this kind of a task?
>
> www.squeaksource.com has a "forgot your password" feature.
> Browse the source for squeaksource (at squeaksource.com),
> or install it then browse. Find the code that's used to
> email a link that the user can use to recover their password,
> and see if you can adapt it to your needs.

Thanks. This is exactly what I was looking for. And I need
definitely a better understanding how Continuations work!
       
regards,
       
Norbert
       
       
       
       

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside