discourse/docs/INSTALL-email.md
Jordan Taylor 6ed65b1ca3 Removed defunct SparkPost free plan (#5058)
The free plan is no longer available through SparkPost for new customers.
However, there is now a free developer account, for the purpose of testing in a sandbox.
Please see https://www.sparkpost.com/pricing/
2017-08-17 16:37:22 -04:00

2.0 KiB

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.

The following are template configurations for email service providers who offer generous free plans that work for most communities.

Please note that in any email provider, you must verify and use the subdomain, e.g. discourse.example.com. If you verify the domain only, e.g. example.com, mail will not be configured correctly.

Enter these values when prompted by ./discourse-setup per the install guide:

Elastic Email — 150k emails/month

SMTP server address? smtp.elasticemail.com
SMTP user name?      [Your registered email address]
SMTP password?       [Elastic Email API Key]
SMTP port?           2525

SendGrid — 40k emails on a 30 day trial

SMTP server address? smtp.sendgrid.net
SMTP user name?      apikey
SMTP password?       [SendGrid API Key]

We recommend creating an API Key instead of using your SendGrid username and password.

Mailgun — 10k emails/month (with credit card)

SMTP server address? smtp.mailgun.org
SMTP user name?      [SMTP credentials for your domain under domains tab]
SMTP password?       [SMTP credentials for your domain under domains tab]

Mailjet — 6k emails/month

Go to My Account page and click on the "SMTP and SEND API Settings" link.