Adding a name to the administrator email address?

I’d like to make the administrator email look a little more friendly by adding a name to it, but I can’t figure out how. I tried changing the Administrator email setting on the Global Settings page to something like "John Doe <email@example.org>" but I get error messages that say I’m including unallowed characters.

image

Hi @camorosinoble ,

If you have access to the server and can update your local config file, then you can add "John Doe <email@example.org>" to the existing mail key like so:

'mail' => [
   'default_message_options' => [
      'from' => 'John Doe <email@example.org>',
   ],
   ...
],

Thanks. There is no mail key in my local.config.php. Can I add only the code you have and be safe? Or do I need a fuller email configuration?

You don’t need any additional mail config if you don’t have any now (but note that you wouldn’t want the ... line from the example, since that’s not really part of the config).