Setting system email address and sender name in multi config Is there a way to set the system email address and sender name from within the config file?

This would be useful when using multi environment configurations. For instance, during development or on my staging server I wish emails to be sent to me (the developer). While for production they would go to the site owner.

I can see the values in serialised data within the database but was hoping I could override them within the config file. I've tried the  keys "emailAddress" and "senderName" to no avail.
The testToEmailAddress config setting which


  Configures Craft to send all system emails to a single email address (or multiple email addresses), for testing purposes.


sounds like the one you are looking for.