Forem Creators and Builders

Anna Buianova for Forem Core Team

Posted on • Updated on

Changelog: Replacing multiple email settings with one default email

Previously, we had a bunch of customizable email fields (contact, business, privacy, members). But it turned out that such granularity doesn't add much value. Different emails were used mostly on static pages, where an admin can put any content, including other emails, if needed. So, we can go with one default email.

The changes were made in this pr

The default email is set via an environment variable (DEFAULT_EMAIL), but I kept it in the interface as a read-only field for clarity.

Here are screenshots of the inteface (Admin => Customization => All Site Configuration => Emails):

Before the changes:
Interface with multiple emails

After the changes:
Interface with one default email

As a part of this pr, I also added a reply-to header for email notifications.

Discussion (2)

benjaminb profile image
Benjamin Bilgehan

how do you access this on server side ?

benjaminb profile image
Benjamin Bilgehan

interesting i am not able to edit here.