# Code for receiving emails via Discourse API

**URL:** <https://meta.discourse.org/t/code-for-receiving-emails-via-discourse-api/96894>\
**Category:** Product Support\
**Created:** [10 בספטמבר,‏ 2018,‏ 8:56pm UTC](https://meta.discourse.org/t/code-for-receiving-emails-via-discourse-api/96894 "2018-09-10T20:56:25Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![sudoman](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@sudoman](https://meta.discourse.org/u/sudoman)\
**Post date:** [10 בספטמבר,‏ 2018,‏ 8:56pm UTC](https://meta.discourse.org/t/code-for-receiving-emails-via-discourse-api/96894/1 "2018-09-10T20:56:25Z")

</div>

Hello Discourse,

> [@Troubleshoot reply by email](https://meta.discourse.org/t/configuring-reply-via-email-e-mail/42026):
>
> If your Discourse does not have incoming email set up, see these topics: [Set up reply by email with POP3 polling](https://meta.discourse.org/t/set-up-reply-by-email-with-pop3-polling/14003)[Configure direct-delivery incoming email for self-hosted sites with Mail-Receiver](https://meta.discourse.org/t/direct-delivery-incoming-email-for-self-hosted-sites/49487)information_source If you already have basic reply via email set up (which is common on hosting plans), and you want to add the ability to start a new topic via email, [see this topic](https://meta.discourse.org/t/start-a-new-topic-via-email-e-mail/62977). Logging and Errors All incoming emails are logged and are visible in your admin panel at /admin/email/received.…

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

Thanks,  
Andrew

---

_[View the full topic](https://meta.discourse.org/t/code-for-receiving-emails-via-discourse-api/96894)._
