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, Ed, biapar, Willr, Ingo, swaiba

Change Password Email From Field

Go to End

3 Posts   1035 Views


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?


Community Member, 712 Posts

23 January 2010 at 1:16pm

Edited: 23/01/2010 1:16pm

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.


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.