2016-03-12 02:09:19 -05:00
## Recommended Email Providers for Discourse
2016-03-11 12:37:17 -05:00
2016-03-12 02:08:22 -05:00
We strongly recommend using a dedicated email service. Email server setup and maintenance is _very_ difficult even for experienced system administrators, and getting any part of the complex required email setup wrong means your email won't be delivered, or worse, delivered erratically.
2016-03-11 12:37:17 -05:00
The following are template configurations for email service providers who offer generous free plans that work for most communities.
2016-03-12 02:08:22 -05:00
Use these values when you [edit your Discourse `app.yml` configuration file ](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md#edit-discourse-configuration ):
2016-03-11 12:37:17 -05:00
2016-03-12 02:08:22 -05:00
#### [SparkPost][sp] (100k emails/month)
2016-03-11 12:37:17 -05:00
```yml
DISCOURSE_SMTP_ADDRESS: smtp.sparkpostmail.com
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: SMTP_Injection
DISCOURSE_SMTP_PASSWORD: [Any API key with Send via SMTP permission]
```
2016-03-12 02:08:22 -05:00
#### [SendGrid][sg] (12k emails/month)
2016-03-11 12:37:17 -05:00
```yml
DISCOURSE_SMTP_ADDRESS: smtp.sendgrid.net
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: [SendGrid username]
DISCOURSE_SMTP_PASSWORD: [SendGrid password]
```
2016-03-12 02:08:22 -05:00
#### [Mailgun][gun] (10k emails/month)
2016-03-11 12:37:17 -05:00
```yml
DISCOURSE_SMTP_ADDRESS: smtp.mailgun.org
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: [SMTP credentials for your domain under Mailgun domains tab]
DISCOURSE_SMTP_PASSWORD: [SMTP credentials for your domain under Mailgun domains tab]
```
2016-03-12 02:08:22 -05:00
#### [Mailjet][jet] (6k emails/month)
2016-03-11 12:37:17 -05:00
Go to [My Account page ](https://www.mailjet.com/account ) and click on the ["SMTP and SEND API Settings" ](https://www.mailjet.com/account/setup ) link.
[sp]: https://www.sparkpost.com/
[jet]: https://www.mailjet.com/pricing
[gun]: http://www.mailgun.com/
[sg]: https://sendgrid.com/