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   2270 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, 604 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, 604 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.