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

Change Password Email From Field


Go to End


3 Posts   1110 Views

Avatar
zenmonkey

Community Member, 545 Posts

23 January 2010 at 9:12am

Hopefully this is an easy one.
When I use the Change Password Form, the email I get has a blank "From" field, how do I set that?

Avatar
Hamish

Community Member, 712 Posts

23 January 2010 at 1:16pm

Edited: 23/01/2010 1:16pm

http://doc.silverstripe.org/doku.php?id=email&s=email#administrator_emails

The static function Email::setAdminEmail() can be called from a _config.php file to set the address that these emails should originate from. This address is used if the from field is empty.

Avatar
zenmonkey

Community Member, 545 Posts

24 January 2010 at 9:25am

Thanks Hamish, I don't know why that wasn't showing up in search for me.