Mastodon email sending configuration - Gmail Edition

Tadashi Shigeoka ·  Sun, April 23, 2017

I’ll introduce the configuration for sending emails from Mastodon using Gmail.

.env.production email delivery configuration

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.

Reference Information

That’s all from the Gemba.