Change SendGrid info to use api key

While it does work I don't think using your SendGrid username and password is good practice so we probably shouldn't promote it. API Keys should be used instead.
This commit is contained in:
Blake Erickson 2016-03-21 07:47:54 -06:00
parent c54dc4a8d9
commit 9bcb841a8b
1 changed files with 4 additions and 2 deletions

View File

@ -26,9 +26,10 @@ If not using **the exact** domain you verified (e.g. you're using a subdomain of
```yml
DISCOURSE_SMTP_ADDRESS: smtp.sendgrid.net
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: [SendGrid username]
DISCOURSE_SMTP_PASSWORD: [SendGrid password]
DISCOURSE_SMTP_USER_NAME: apikey
DISCOURSE_SMTP_PASSWORD: [SendGrid API Key]
```
We recommend creating an [API Key][sg2] instead of using your SendGrid username and password.
#### [Mailgun][gun] (10k emails/month)
@ -49,3 +50,4 @@ Go to [My Account page](https://www.mailjet.com/account) and click on the ["SMTP
[jet]: https://www.mailjet.com/pricing
[gun]: http://www.mailgun.com/
[sg]: https://sendgrid.com/
[sg2]: https://sendgrid.com/docs/Classroom/Send/How_Emails_Are_Sent/api_keys.html