Forem Creators and Builders 🌱

Discussion on: Resolved: Unable to unset SMTP and configure SMTP properly

Collapse
 
akhil profile image
Akhil Naidu • Edited

I'm assuming that you are using t2d script or dokku or heroku to run your Forem.

t2d script

Within the script you can see an option Configure ENV variable for an existing app, choose that to enter the ENV_VARIABLE and its VALUE. The ENV_VARIABLE was DEFAULT_EMAIL and the required VALUE was your email-id

Screenshots for more info.

image 01
Here you can add/Update ENV variables, prefer this, so that the script also know about the name of your APP

To react this screenshot, within the automatic setup, first choose Forem => then you can see this.

image 02
With in this image, at the bottom you can see configure ENV variables for an Existing app; If you are using this, the APP NAME should be nforem or forem. If you are not aware of your app name, I would sugggest you go with the previous screenshot.

For more info, you can watch my video, in which, at the end I added one variable.

Dokku

dokku config:set <your-app-name> DEFAULT_EMAIL=admin@example.com

To list the name of your app => dokku config apps:list

If you insatlled Forem via t2d-script, the name of your app was nforem

Heroku

On Heorku, within your app settings you can add ENV variables section, navigate to that place and add the above mentioned ENV_VARIABELS and its respective VALUES.

Collapse
 
benjaminb profile image
Benjamin Bilgehan

this helped me a lot. !!!!

Collapse
 
ecobrett profile image
Brett Bailey

Hi @akhil ,
What if we followed forem.dev/foremteam/self-host-quic... install instructions and did not use t2d script, dokku, or heroku. I have a successful install but need to unset\change the default email I used. I plan to put this install on Google Cloud into production. Before I get too far along in the setup, should I start over and choose a different path or make other actions now to make future admin easier? Thank you.
-Brett

Thread Thread
 
akhil profile image
Akhil Naidu • Edited

As you already have a Forem selfhost, hosted via the official documentation, you can edit your default email from admin panel.

In case, if you are facing any issues, as you are following official documentation; you can always raise your concern via a new post. Te @forem team will try their part to help you.

If you are using #t2d script, then I'll be glad to help youA