On my dev server, after I fill in my email address in the 'Lost Password' form, SilverStripe will send a email containing the password reset link to the email address I just filled in. The 'From' address of this email is the default server admin email address. However on my staging server, this password reset email does not get sent, I am guessing it is because I did not set a server admin email address(?). Is there a way to set the server admin email address in the _config.php, or the ability to change this default email address.
I had a look at Member.php, its Member_ForgotPasswordEmail class has the following comments for '$from' address, //setting a blank from address uses the site's default administrator email. Is there a way to set a email address for this?
Thank you for taking the time to read this!