Forem Creators and Builders

Discussion on: Email sending is not working

djuber profile image
Daniel Uber

Hi Álvaro,

Thanks for the suggestion about adding this variable to the sample environment keys. I've just updated the Forem repo to include that. One reason this was never included before maybe that the .env_sample file was targeted to local development environments (where outbound mail is not sent), and the production environment variables are provided by another mechanism than the .env file. Sendgrid is a service we only use in production, and so no developers ever needed it locally before.

We probably could add more to the documentation around this. There's a very brief mention of Sendgrid as a service for email in , but nothing about providing the api key, hopefully the example file helps in the future.