E-Mail name for uniform

Hey @mzur,

I was wondering if there’s a way to give the from email address a name.
For example if you use mail@example.com the user will receive an email that just has mail@example.com shown as sender. It works, but it would be nice if we could give the sender a name, for example like Example Company <mail@example.com>. That way most email clients will list the email as Example Company which seems a bit cleaner.

I hope you understand what I mean. :slight_smile:

Cheers!

'from' => 'Company name <john@example.com>',

If I do that then no email is being sent, but maybe that’s some other config issue. Will have to take a close look.

There was a time when Kirby’s mail service didn’t accept addresses formatted like this but that was fixed, I think. IIRC Kirby threw an error in that case, too.

1 Like

In my test with a Kirby 2.4.1 install it worked.

1 Like

I just tested it again and it works indeed. The reason it didn’t work in my last test was because I forgot to properly exclude the sites from caching, causing the CSRF token to not update properly. Which leads to another issue in regards to error reporting.