> > auth.messages.verify_email = 'Click on the link > http://%(env)s/%(url)s/%(key)s to verify your email' \ > > % dict(env=request.env.http_host, url=URL(...), > key= lambda : lazy_get_the_key()) > > Should this works? being lazy_get_the_key() a function which selects the > current user to interpolate. > > The Auth code includes:
self.settings.mailer.send(to=form.vars.email, subject=self.messages.verify_email_subject, message=self.messages.verify_email % dict(key=key)) So, the key is generated and provided by the code -- you don't have to fill it in yourself. Anthony --