Simple steps to set Sendgrid as your Appwrite SMTP server
- Update your Appwrite Env vars with settings from your Sendgrid account
- _APP_SYSTEM_EMAIL_NAME=Project%20Team
- [email protected]
- _APP_SMTP_HOST=smtp.sendgrid.net
- _APP_SMTP_PORT=465
- _APP_SMTP_SECURE=ssl
- _APP_SMTP_USERNAME=apikey
- _APP_SMTP_PASSWORD=my-api-key-from-sendgrid
- Use a secure port (465+ssl or 587+tls)
- Make sure to validate
[email protected]
in the Sendgrid dashboard: https://sendgrid.com/docs/for-developers/sending-email/sender-identity/ - Use your
_APP_SYSTEM_EMAIL_NAME
and_APP_SYSTEM_EMAIL_ADDRESS
in the Sendgrid dashboard - Make sure your Sendgrid API key had required 'Mail' permission
- Reload your Appwrite setup with
docker-compose up -d