hi all. i'm trying to have a consistent html email look and feel for
my site. one issue i'm having is with auth.messages like
reset_password and response.render.

in a controller, i can do this:
    email = {}
    email['address'] = 'mye...@mail.com'
    context = dict(email=email)
    messageHtml = response.render('default/email/test.html', context)

but in my model, i'm left with something like this:
auth.messages.reset_password = response.render('default/email/
test.html', dict(key=???))

and i'd like to give it a context so it can access the key, but i
don't know how to do it. any suggestions? is it possible to render
under context in this example?

thanks,

matt

Reply via email to