# Suggestion - allow optional system email "from" setting during setup

**URL:** <https://meta.discourse.org/t/suggestion-allow-optional-system-email-from-setting-during-setup/52803>\
**Category:** Feature\
**Created:** [11.Ноябрь.2016 14:36:16 UTC](https://meta.discourse.org/t/suggestion-allow-optional-system-email-from-setting-during-setup/52803 "2016-11-11T14:36:16Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [14.Ноябрь.2016 00:47:38 UTC](https://meta.discourse.org/t/suggestion-allow-optional-system-email-from-setting-during-setup/52803/5 "2016-11-14T00:47:38Z")

</div>

> [@Lee\_Ars](#):
>
> have the option to set the setup email’s “from” address in advance

We could add an ENV var for that, but… I feel that it is just a handful of people in the world would ever use it.

Perhaps a more effective direction that would improve quality of life for every installer is to host a “free for all” SMTP install API for use during setup. The huge upside would be that we could move SMTP config out of ENV and into the UI.

Off the top of my head implementation:

`api.discourse.org/validate_admin`

POST

email: admin email address  
activation\_link: email activation link  
forum\_url: url of forum

Then when posted to that URL

1. We add an endpoint that explicitly returns true if this service is enabled on the Discourse site and validate.
2. Demand that the IP that makes the request is the IP of the forum.
3. Heavy throttling by IP

---

_[View the full topic](https://meta.discourse.org/t/suggestion-allow-optional-system-email-from-setting-during-setup/52803)._
