Look at the first code example in this page:

http://docs.python.org/library/email.header.html

Massimo

On Apr 20, 3:00 am, Rohan <[email protected]> wrote:
> Hi mdipierro,
>
> If i override the text of email by setting
> auth.messages.reset_password and replace "http://...reset_password/
> 1271747658-828516dd-150c-43a9-bfe3-fb8f8986b6fb" with "http://<domain>/
> <application>/default/user/reset_password/
> 1271747658-828516dd-150c-43a9-bfe3-fb8f8986b6fb", it works.
>
> Is this correct way of doing it?
>
> Also my "To" field in the email received by user,  is showing ="?utf-8?
> q?....com?=" any ideas?
>
> Thanks
> Rohan
>
> On Apr 20, 12:48 pm, Rohan <[email protected]> wrote:
>
> > Hi mdipierro,
>
> > After setting auth.settings.reset_password_requires_verification to
> > True, I got the mail with the below content
>
> > "Click on the 
> > linkhttp://...reset_password/1271747658-828516dd-150c-43a9-bfe3-fb8f8986b6fb
> > to reset your password"
>
> > however I am not able to load the 
> > linkhttp://...reset_password/1271747658-828516dd-150c-43a9-bfe3-fb8f8986b6fb
> > generated above.
>
> > Thanks a lot
> > Rohan
>
> > On Apr 19, 7:24 pm, mdipierro <[email protected]> wrote:
>
> > > Yes.
>
> > > auth.settings.reset_password_requires_verification = True
>
> > > On Apr 19, 5:10 am, Rohan <[email protected]> wrote:
>
> > > > Hi All,
>
> > > > Currently my retrieve password application sends new password directly
> > > > to user. Anyone can reset password of any other user as long as they
> > > > know the email id. So I want to customize the process and want to send
> > > > a mail to user asking user to verify email and reset password from
> > > > some link provided in that page something like verification of email
> > > > while registering.
>
> > > > Any pointers?
>
> > > > Thanks
> > > > Rohan
>
> > > > --
> > > > Subscription 
> > > > settings:http://groups.google.com/group/web2py/subscribe?hl=en

Reply via email to