Do you have: auth.settings.registration_requires_verification = True somewhere? If so, remove that line or set it to False. That attempts to send a verification email to the user's email address (which is failing and causing the error), which I assume you don't need given that your registration is via invitation only. Anthony
On Wednesday, July 6, 2011 2:39:27 PM UTC-4, Luis Goncalves wrote: > > Both with Massimo's > > auth.settings.table_user.email.default = registrant.email > auth.settings.table_user.email.writable=False > > form=auth.register() > > and with your > > db[auth.settings.table_user_name].email.writable=False > db[auth.settings.table_user_name].email.default=registrant.email > > form=auth.register() > > I get the error > > Exception: Target receiver address not specified > > at the line of form=auth.register() > > > For reference, the entire block (with error handling removed for clarity) > is: > > def user(): > > if request.args(0)=='register': > > registrant = db( db.registrant.token == request.vars.token > ).select().first() > > db[auth.settings.table_user_name].email.writable=False > db[auth.settings.table_user_name].email.default=registrant.email > > form=auth.register() > > return dict(form=form) > > return dict(form=auth()) > >