Code for receiving emails via Discourse API

From the output of rake routes You can send a POST request to

admin/email/handle_mail

Here is the controller method from handle_mail:

https://github.com/discourse/discourse/blob/master/app/controllers/admin/email_controller.rb#L124

4 „Gefällt mir“