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:
- Mailgun API key - which you can retrieve in your mailgun settings
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
- Atom - The editor used
- Ruby on Rails - Application framework
- Discourse Plugins - Plugin framework for Discourse
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.
- Tiago Macedo - Initial work - Really Really Inc
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