Provides a simple endpoint for Mailgun to deliver inbound emails to Discourse
You should install the plugin via the current Discourse plugin instructions - https://meta.discourse.org/t/install-a-plugin/19157
You will require a Mailgun account, enabled domain and incoming mail enabled. Follow the instructions in the Mailgun docs Create a rule to forward email to this plugin
match_recipient(“reply-.*@mydiscourse.domain”)
forward(“https://mydiscourse.domain/mailgun/incoming”)
Installing this plugin should be as simple as following the Discourse Plugin installation tutorial
In order to run tests you'll need a Discourse development environment such as the vagrant one.
You can then run the tests with rake plugin:spec[discourse-mailgun]
Once the plugin is installed, you'll need to configure a few things:
You can do this in the plugin settings page.
You'll also need to enable "manual polling enabled" in your discourse email settings admin panel.
Once that is done, you need to configure Mailgun your mailgun routes to forward messages to http://your-discourse-url/mailgun/incoming
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
See also the list of contributors who participated in this project.
This project is licensed under the Apache 2.0 - see the LICENSE.md file for details