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
SMTP_LOGIN=my.gmail.account@gmail.com
SMTP_PASSWORD=mypassword
SMTP_FROM_ADDRESS=my.gmail.account@gmail.com
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.