Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Customizing the Password Reset e-mail template?


Reply

4 Posts   2233 Views

Avatar
dynamite

1 May 2009 at 12:31am Community Member, 66 Posts

Hello,

I was wondering how to customize the e-mail that goes out when someone requests a password reset link?

Thank you!

Jeremy

Avatar
Double-A-Ron

4 May 2009 at 9:53am (Last edited: 4 May 2009 9:53am), Community Member, 604 Posts

Start by taking a look in /sapphire/templates/email/ForgotPasswordEmail.ss.

Cheers
Aaron

Avatar
Double-A-Ron

4 May 2009 at 10:03am Community Member, 604 Posts

Also, to help with upgrading the site (overwriting the sapphire directory and thus the changes you make to that file), I think if you copy that ss file to your site template directory, and make the changes work, Silverstripe will look for your custom template first.

I have not tested this however, but I know it worked for userDefinedForms.ss when it was part of the sapphire core.

Cheers
Aaron

Avatar
davidm2010

27 July 2010 at 10:54pm Community Member, 107 Posts

Is there away to format From: Subject: The emails get sent to junk mail without these items being in the email.