Grazie Massimo! The following works well for my need:
auth.settings.registration_requires_verification = True auth.settings.registration_requires_approval = True auth.messages.verify_email = \ 'Click on the link https://mydomain/fips/default/user/verify_email/%(key)s to verify your FIPS registration' auth.settings.verify_email_onaccept = lambda form:\ auth.settings.mailer.send(to='adminwithapprovalpo...@admindomain', \ subject='FIPS Approval Pending',\ message='Your action is required. Please approve user %s asap.' % form.email) So the from me requested feature is there already and working well ;-) Hans On Jul 27, 2:25 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > Yes but you can do already > > auth.settings.registration_requires_approval = False > auth.settings.register_onaccept = lambda form: > auth.settings.mailer.send(....) > > why a notification email should be more important (i.e. built-in) vs > any other action that may be required on login? > > Massimo > > On Jul 26, 12:05 pm, Hans <johann.scheibelho...@easytouch-edv.com> > wrote: > > > For me it would be great if the approver gets a notification email as > > soon as his action is required. The idea is something like below > > > auth.settings.registration_approver='youremailaddr...@yourdomain' > > auth.messages.approver_email = \ > > 'A pending registration from %(email)s on application % > > (response.title)s requires your approval' > > > Does that make sense? > > > Thanks, > > Hans > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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 -~----------~----~----~----~------~----~------~--~---