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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Customizing the Password Reset e-mail template?


Go to End


4 Posts   3628 Views

Avatar
dynamite

Community Member, 66 Posts

1 May 2009 at 12:31am

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

Community Member, 607 Posts

4 May 2009 at 9:53am

Edited: 04/05/2009 9:53am

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

Cheers
Aaron

Avatar
Double-A-Ron

Community Member, 607 Posts

4 May 2009 at 10:03am

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

Community Member, 107 Posts

27 July 2010 at 10:54pm

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