Skip to content

Commit

Permalink
docs: add more detailed MailGun instructions (#2757)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomgs authored and asbiin committed Jun 16, 2019
1 parent f3eff25 commit 0d89680
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/installation/heroku.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ Client secret: zsfOHGnEbadlBP8kLsjOV8hMpHAxb0oAhenfmSqq
* No upload of photos for your contacts. Heroku doesn't support storage.
* No email by default - email configuration isn't required to use Monica on Heroku, but it's recommended. The easiest way to go about this is to use Mailgun's [free email add-on on Heroku](https://elements.heroku.com/addons/mailgun):
* [Sign up for Mailgun](https://signup.mailgun.com/new/signup) (the [free plan](https://www.mailgun.com/pricing) should be sufficient)
* Add a custom domain in mailgun.
* Add the "To" and "From" e-mail addresses you're going to use as verified e-mail addresses on mailgun, and then actually verifying them.
* Upgrade mailgun by entering a credit card (there is no charge, but they do require you enter it so you'll be upgraded to some other tier that enables you to actually send messages).
* Verify the custom domain via DNS (there are instructions on their site)
* In Heroku, go to your app, then to the Settings tab. In it, you will have a button that reads "Reveal Config Vars". Click it, and change the following vars:
* `MAIL_DRIVER`: `mailgun`
* `MAILGUN_DOMAIN`: your Mailgun domain
Expand Down

0 comments on commit 0d89680

Please sign in to comment.