Forem Creators and Builders

Lee
Lee

Posted on

Config > SMTP settings

Hello ๐Ÿ‘‹๐Ÿผ

Just wanted to quickly confirm the config > smtp settings doesn't need to be configured for hosted Forems but does for standalone Forems?

Thanks!

Discussion (11)

Collapse
ruby011rails profile image
ruby011rails

Hi @akhil
I can not config SMTP

Address: 'smtp.gmail.com'
Port: 587
Authentication: 'plain'
User name: '@gmail.com'
Password: ''
Domain: 'gmail.com'

Can you help me!
Thank you very much!

Collapse
akhil profile image
Akhil Naidu

I would suggest you to use, sendgrid free tier.

Or within google settings, you can remove email protection. In order to send mail via gmail via 3rd party services, you need to give reduce security in gmail

Rather than going through all of this, I would suggest you to get a free account in sendgrid and configure it.

Collapse
benjaminb profile image
Benjamin Bilgehan

i setup forem on digitalocean and created sendgrid account as well. I configured my forem but still i dont get it working. what other configurations needed ?

Thread Thread
ellativity profile image
Ella Ang (she/her/elle)

Hey @benjaminb , congrats on getting your Forem up and running!

Can you please create a new #selfhost issue describing what you're encountering, so our team can find your questions more easily?

Thread Thread
benjaminb profile image
Benjamin Bilgehan
Thread Thread
benjaminb profile image
Benjamin Bilgehan

forem.dev/benjaminb/forem-digitalo...

please take a look at above link.

Collapse
benjaminb profile image
Benjamin Bilgehan • Edited

what to use on Authentication section 'plain' ?

Thread Thread
ellativity profile image
Ella Ang (she/her/elle)

We're found that "login" tends to be the standard (sometimes "plain" isn't accepted because it's entirely unencrypted), but check Sendgrid's latest documentation for the most up-to-date info for your choice of provider.

Collapse
akhil profile image
Akhil Naidu • Edited

It's still not functioning in self hosted Forem
But within Forem cloud, they are using their native mail system through noreply@forem.com

Adding noreply@forem.com as a sender would make your SMTP work(might be); but service like sendgrid or any such services need sender domain verification.

So for now only Forem clould forems can use the SMTP feature.

Collapse
lee profile image
Lee Author

Oh yeah, I forgot I configured sendgrid in my heroku envs yonks ago! Those will probably automatically come across when ready. Thanks for reminding me.

Collapse
ellativity profile image
Ella Ang (she/her/elle)

Yep, as you already figured, this is a new addition for the updated FOSS Forem release that we're working on. As @akhil mentions, it's not fully functioning yet, but it's on its way!

Your self-hosted Forem/any previously up-and-running self-hosted Forem should have .env files already configured, and we take care of hosted Forems.