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 <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---