def welcome(form):
    auth.settings.mailer.sent(to=form.vars.email,message='Hello %s' %
form.vars.first_name)

auth.settings.register_onaccept = welcome

Need to add this to the book. Thanks for the reminder.

Massimo

On Jul 10, 2:25 pm, Jason Brower <encomp...@gmail.com> wrote:
> Is there a way with auth to send a welcome message when people register?
> Regards,
> JAson
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to