I’ll introduce the configuration for sending emails from Mastodon using Gmail.
The email delivery configuration items are in the SMTP_* section of the .env.production file.
SMTP_SERVER=smtp.gmail.com
SMTP_PORT=587
[email protected]
SMTP_PASSWORD=mypassword
[email protected]
SMTP_DOMAIN=gmail.com
SMTP_OPENSSL_VERIFY_MODE=none
For those who want to send emails for free without using email delivery services, being able to use Gmail is appreciated.
That’s all from the Gemba.