# My own mailbox / Mailgun smtp

**URL:** <https://meta.discourse.org/t/my-own-mailbox-mailgun-smtp/175555>\
**Category:** Support\
**Created:** [January 8, 2021, 10:54pm UTC](https://meta.discourse.org/t/my-own-mailbox-mailgun-smtp/175555 "2021-01-08T22:54:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![djcyry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/djcyry/32/161664_2.png) [@djcyry](https://meta.discourse.org/u/djcyry)\
**Post date:** [January 8, 2021, 10:54pm UTC](https://meta.discourse.org/t/my-own-mailbox-mailgun-smtp/175555/1 "2021-01-08T22:54:04Z")

</div>

Hi ,

I am using mailgun “pay as you go” smtp service and also i need my own  
mailbox for contact form , eg [contact@mydomain.com](mailto:contact@mydomain.com) . Mailgun says there´s  
no way to do that , so what options i have to do it ? i am using D.O container.

---

<div class="post-metadata">

**Author:** ![Mevo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mevo/32/187732_2.png) [@Mevo](https://meta.discourse.org/u/Mevo)\
**Post date:** [January 9, 2021, 12:01am UTC](https://meta.discourse.org/t/my-own-mailbox-mailgun-smtp/175555/2 "2021-01-09T00:01:00Z")

</div>

I guess mailgun is essentially for SENDING emails. You would need a mail server capable of RECEIVING mail. But you would probably need another machine / VM / VPS than the one running Discourse (or it’s a little complicated). Your best option would be to get this from your registrar (where you bought your domain name). They should propose this service for not much. If you have troubles finding this at an affordable price, send me a private message, and I’ll give you a hand.

---

<div class="post-metadata">

**Author:** ![djcyry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/djcyry/32/161664_2.png) [@djcyry](https://meta.discourse.org/u/djcyry)\
**Post date:** [January 9, 2021, 12:10am UTC](https://meta.discourse.org/t/my-own-mailbox-mailgun-smtp/175555/3 "2021-01-09T00:10:11Z")

</div>

I will ask on my register but I don’t think can works (dns from digitalocean with email from register) right?

---

<div class="post-metadata">

**Author:** ![Mevo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mevo/32/187732_2.png) [@Mevo](https://meta.discourse.org/u/Mevo)\
**Post date:** [January 9, 2021, 12:28am UTC](https://meta.discourse.org/t/my-own-mailbox-mailgun-smtp/175555/4 "2021-01-09T00:28:41Z")

</div>

Your domain points to a nameserver. On this nameserver (whichever you’re using), the configuration for a website and email are two different things. You use a “A record” to point to the IP address where your website is, and you use “MX records” to point to where you’re receiving emails for the domain.

So in principle, shouldn’t be a problem. Now, some registrar only provide email if you’re actually using their nameservers. What you could also do, and point to D.O. just for the website.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [February 8, 2021, 12:28am UTC](https://meta.discourse.org/t/my-own-mailbox-mailgun-smtp/175555/5 "2021-02-08T00:28:51Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
