146
edits
No edit summary |
|||
Line 76: | Line 76: | ||
Create a SendGrid account, go to Settings > API Keys, and generate an API key. | Create a SendGrid account, go to Settings > API Keys, and generate an API key. | ||
Then set up the config like this: | Then set up the config in mastodon/live/.env.production like this: | ||
<code>SMTP_SERVER=smtp.sendgrid.net | <code>SMTP_SERVER=smtp.sendgrid.net | ||
SMTP_PORT=587 | SMTP_PORT=587 | ||
SMTP_LOGIN=apikey | SMTP_LOGIN=apikey | ||
SMTP_PASSWORD=<your-api-key> | SMTP_PASSWORD=<your-api-key> | ||
SMTP_FROM_ADDRESS= | SMTP_FROM_ADDRESS=noreply@neuromatch.social</code> | ||
(for SMTP_LOGIN literally just use "apikey") | (for SMTP_LOGIN literally just use "apikey") | ||