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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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

Error email sender


Go to End


2 Posts   1018 Views

Avatar
AndrewMK

Community Member, 23 Posts

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 'errors@silverstripe.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('me@somone.com');

But this does not seem to work?

Avatar
Willr

Forum Moderator, 5523 Posts

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.