23472 Posts in 18941 Topics by 2878 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 'firstname.lastname@example.org' 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('email@example.com');
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|