How to set up email?

I have signed mailgun and smtp, and I have modified the .env.production smtp part, but the server cannot send email.
Here is my configuration:
SMTP_SERVER=smtpdm.aliyun.com
SMTP_PORT=80
SMTP_LOGIN=notifications@example.com
SMTP_PASSWORD=example
SMTP_FROM_ADDRESS=Mastodon notifications@example.com

That configuration looks wrong

SMTP_SERVER=smtp.mailgun.org (or smtp.eu.mailgun.org)
SMTP_PORT=587
SMTP_LOGIN=postmaster@YOUR-DOMAIN
SMTP_PASSWORD=YOUR-PASSWORD
SMTP_AUTH_METHOD=plain
SMTP_OPENSSL_VERIFY_MODE=none
SMTP_FROM_ADDRESS=noreply@YOUR-DOMAIN

Please avoid spaces in the email address hereā€¦

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.