Mastodon/Setup

From neuromatch
Revision as of 22:07, 25 November 2022 by Manisha (talk | contribs) (add SMTP configuration)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Configure the email server

Create a SendGrid account, go to Settings > API Keys, and generate an API key.

Then set up the config like this:

SMTP_SERVER=smtp.sendgrid.net
SMTP_PORT=587
SMTP_LOGIN=apikey
SMTP_PASSWORD=<your-api-key>
SMTP_FROM_ADDRESS=youremail@gmail.com

(for SMTP_LOGIN literally just use "apikey")