thanks...

def retrieve_password():
    email=request.vars.email
    auth.messages.email_sent="A new password as been sent to %s. If you
don't get your new password, be sure to check your spam folder." %(email)
    form=auth.retrieve_password()

    return dict(form=form)

On Sun, Jul 26, 2009 at 10:08 PM, Yarko Tymciurak <[email protected]> wrote:

> you should be able to set auth.messages.email_sent dynamically;  just set
> it (for example) once you have the user id, before the form is presented.
>
>
> On Sun, Jul 26, 2009 at 3:30 PM, Sebastian E. Ovide <
> [email protected]> wrote:
>
>> Hi All,
>>
>> I'd like to personalize the auth.messages.email_sent with a message
>> containing the email address to which the mail has been sent. Something like
>> this:
>>
>> "A new password as been sent to %1. If you don't get your new password, be
>> sure to check your spam folder."
>>
>> and replace %1 with the current email.
>>
>> is it possible ?
>>
>> thanks
>>
>> --
>>
>> Sebastian E. Ovide
>>
>>
>>
>>
>
> >
>


-- 

Sebastian E. Ovide

skype: seezov

+353 87 6340149

Sent from Dublin, Ireland

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to