Mastodon/Setup: Difference between revisions

From neuromatch
(add SMTP configuration)
 
No edit summary
Line 1: Line 1:
In this case we are using [[Documents::glitch-soc]] to run a [[Implements::Mastodon]] server


=== Configure the email server ===
=== Configure the email server ===
Line 10: Line 12:
  SMTP_FROM_ADDRESS=youremail@gmail.com</code>
  SMTP_FROM_ADDRESS=youremail@gmail.com</code>
(for SMTP_LOGIN literally just use "apikey")
(for SMTP_LOGIN literally just use "apikey")
* [[Category:Guide]]
* [[Category:Mastodon]]

Revision as of 22:29, 25 November 2022

In this case we are using glitch-soc to run a Mastodon server


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")