22847 Posts in 9589 Topics by 2802 members
|Go to End|
9 August 2011 at 9:27am
I have a requirement to change the email address that error messages are sent from. At present it is 'email@example.com' but we wish to change this address to one of our own internal addresses but i cannot find any where to do this?
I have tried Email::setAdminEmail('firstname.lastname@example.org');
But this does not seem to work?
9 August 2011 at 7:06pm
This is set in the SS_LogEmailWriter. See http://api.silverstripe.org/2.4/sapphire/dev/SS_LogEmailWriter.html#methodset_send_from for how to customize.
|Go to Top|