Forem Creators and Builders 🌱

Discussion on: eMail configuration for forem

Collapse
 
ce7in profile image
Muhammed Cetin

I've added Sendgrid API keys, but it doesn't work. I couldn't find any way to make it works properly. Waiting...

Collapse
 
maestromac profile image
Mac Siri • Edited

Hey! are you using the following configuration? make sure they applied on /admin/customization/config under SMTP section

SMTP_ADDRESS: smtp.sendgrid.net,
SMTP_PORT: 587,
SMTP_AUTHENTICATION: :plain,
SMTP_USER_NAME: apikey,
SMTP_PASSWORD: your-api-key-goes-here,
Enter fullscreen mode Exit fullscreen mode
Collapse
 
ce7in profile image
Muhammed Cetin • Edited

I'm using Forem selfhost, so I've added Sendgrid Api key and api key id in the setup.yml file. Then when Forem being deployed, I think these configurations need to be set automatically. Am I wrong? Should I put this configuration to the .env file manually?

Thread Thread
 
maestromac profile image
Mac Siri

do you recall which environment variable you set the sendgrid API to? is it SENDGRID_API_KEY or SMTP_PASSWORD?

if you are not sure, you can override it by going to your-forem.com/admin/customization/config under the SMTP section.

Thread Thread
 
benjaminb profile image
Benjamin Bilgehan

you have to set them up before installation or you can do it after installation.