Code for receiving emails via Discourse API

Hello Discourse,

Is there a preexisting code base out there for pushing emails to Discourse’s incoming email API?

Thanks,
Andrew

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:

4 Likes
6 Likes