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

Change Password Email From Field


Reply


3 Posts   824 Views

Avatar
zenmonkey

Community Member, 528 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

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

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, 528 Posts

24 January 2010 at 9:25am

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