# Receive Email From Java Server

**URL:** <https://forum.mautic.org/t/receive-email-from-java-server/4200>\
**Category:** General Discussion\
**Created:** [June 27, 2016, 6:21am UTC](https://forum.mautic.org/t/receive-email-from-java-server/4200 "2016-06-27T06:21:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cheng412](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@cheng412](https://forum.mautic.org/u/cheng412)\
**Post date:** [June 27, 2016, 6:21am UTC](https://forum.mautic.org/t/receive-email-from-java-server/4200/1 "2016-06-27T06:21:58Z")

</div>

I have a java server which is able to receive email sent by Mautic server. Now i would like to do something different which is to send the email from java server to Mautic server. Any idea? I have searched through internet, unfortunately i cannot figure out the way to do that. Please help! thanks in advance.

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [June 27, 2016, 8:29am UTC](https://forum.mautic.org/t/receive-email-from-java-server/4200/2 "2016-06-27T08:29:28Z")

</div>

Why would you want to send email to Mautic? To create new leads? To handle bounce management?

---

<div class="post-metadata">

**Author:** ![cheng412](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@cheng412](https://forum.mautic.org/u/cheng412)\
**Post date:** [June 27, 2016, 8:50am UTC](https://forum.mautic.org/t/receive-email-from-java-server/4200/3 "2016-06-27T08:50:44Z")

</div>

Just for a testing purpose. Is it possible to do that? Thanks!

---

<div class="post-metadata">

**Author:** ![cheng412](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@cheng412](https://forum.mautic.org/u/cheng412)\
**Post date:** [June 27, 2016, 6:21am UTC](https://forum.mautic.org/t/receive-email-from-java-server/4200/4 "2016-06-27T06:21:58Z")

</div>

I have a java server which is able to receive email sent by Mautic server. Now i would like to do something different which is to send the email from java server to Mautic server. Any idea? I have searched through internet, unfortunately i cannot figure out the way to do that. Please help! thanks in advance.

---

<div class="post-metadata">

**Author:** ![cheng412](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@cheng412](https://forum.mautic.org/u/cheng412)\
**Post date:** [June 27, 2016, 7:23am UTC](https://forum.mautic.org/t/receive-email-from-java-server/4200/5 "2016-06-27T07:23:32Z")

</div>

mine question should be about how to setup the smtp server in mautic for receiving email which sent by using Java…
