# Setting Up Mail

**URL:** <https://meta.discourse.org/t/setting-up-mail/148159>\
**Category:** Self-hosting\
**Created:** [April 15, 2020, 8:08pm UTC](https://meta.discourse.org/t/setting-up-mail/148159 "2020-04-15T20:08:18Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Infinite\_Flight\_Sims](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/infinite_flight_sims/32/176828_2.png) [@Infinite\_Flight\_Sims](https://meta.discourse.org/u/Infinite_Flight_Sims)\
**Post date:** [April 15, 2020, 8:08pm UTC](https://meta.discourse.org/t/setting-up-mail/148159/1 "2020-04-15T20:08:19Z")

</div>

Hello,

I’m in the process of setting up Discourse with digital ocean. Everything is good, but I’m having trouble with the mail services. I have a .ca domain name and MailGun doesn’t accept that. If you know any good mailing services, please tell me, thanks.

---

<div class="post-metadata">

**Author:** ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)\
**Post date:** [April 15, 2020, 8:29pm UTC](https://meta.discourse.org/t/setting-up-mail/148159/2 "2020-04-15T20:29:39Z")

</div>

Hi there. Welcome.

You can try any of these: [discourse/docs/INSTALL-email.md at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/docs/INSTALL-email.md)

I’m testing Mailjet and is working very good for the moment. You can chose domains or accounts, their have a free plan that covers the basis (and more that another providers offers).

If you want to recieve mails, you can check that: [Configure direct-delivery incoming email for self-hosted sites with Mail-Receiver](https://meta.discourse.org/t/straightforward-direct-delivery-incoming-mail/49487) or try with another provider because Mailjet don’t work as reciever.

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [April 15, 2020, 10:42pm UTC](https://meta.discourse.org/t/setting-up-mail/148159/3 "2020-04-15T22:42:29Z")

</div>

> [@Infinite\_Flight\_Sims](#):
>
> I have a .ca domain name and MailGun doesn’t accept that

That’s not true. I just created one.

---

<div class="post-metadata">

**Author:** ![Infinite\_Flight\_Sims](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/infinite_flight_sims/32/176828_2.png) [@Infinite\_Flight\_Sims](https://meta.discourse.org/u/Infinite_Flight_Sims)\
**Post date:** [April 15, 2020, 10:48pm UTC](https://meta.discourse.org/t/setting-up-mail/148159/4 "2020-04-15T22:48:22Z")

</div>

Really?

It says that .ca invalid for me

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [April 15, 2020, 10:51pm UTC](https://meta.discourse.org/t/setting-up-mail/148159/5 "2020-04-15T22:51:47Z")

</div>

Did you try to create an actual domain? I just created `discourse.somebogusdomain.ca`.

---

<div class="post-metadata">

**Author:** ![Infinite\_Flight\_Sims](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/infinite_flight_sims/32/176828_2.png) [@Infinite\_Flight\_Sims](https://meta.discourse.org/u/Infinite_Flight_Sims)\
**Post date:** [April 16, 2020, 12:54am UTC](https://meta.discourse.org/t/setting-up-mail/148159/6 "2020-04-16T00:54:45Z")

</div>

My domain name is `community.globalaviators.ca` (Not hosted yet though)

---

<div class="post-metadata">

**Author:** ![rorycb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rorycb/32/423647_2.png) [@rorycb](https://meta.discourse.org/u/rorycb)\
**Post date:** [April 16, 2020, 12:52pm UTC](https://meta.discourse.org/t/setting-up-mail/148159/7 "2020-04-16T12:52:40Z")

</div>

Mailgun definitely works with .ca, I have several setup there. I can’t help you unfortunately, but thought I would chime in to confirm it does work.

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [April 16, 2020, 1:30pm UTC](https://meta.discourse.org/t/setting-up-mail/148159/8 "2020-04-16T13:30:10Z")

</div>

Is it possible that some other account has registered that domain on mailgun? That’s the only explanation I can think of.

---

<div class="post-metadata">

**Author:** ![Infinite\_Flight\_Sims](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/infinite_flight_sims/32/176828_2.png) [@Infinite\_Flight\_Sims](https://meta.discourse.org/u/Infinite_Flight_Sims)\
**Post date:** [April 16, 2020, 4:59pm UTC](https://meta.discourse.org/t/setting-up-mail/148159/9 "2020-04-16T16:59:12Z")

</div>

> [@pfaffman](#):
>
> Is it possible that some other account has registered that domain on mailgun?

I don’t know, I’ve bought the domain name and fully own it.

---

<div class="post-metadata">

**Author:** ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)\
**Post date:** [April 16, 2020, 5:14pm UTC](https://meta.discourse.org/t/setting-up-mail/148159/10 "2020-04-16T17:14:08Z")

</div>

Raise a support ticket with mailgun. Only they can explain why their system isn’t taking your domain.

---

<div class="post-metadata">

**Author:** ![Infinite\_Flight\_Sims](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/infinite_flight_sims/32/176828_2.png) [@Infinite\_Flight\_Sims](https://meta.discourse.org/u/Infinite_Flight_Sims)\
**Post date:** [April 16, 2020, 5:17pm UTC](https://meta.discourse.org/t/setting-up-mail/148159/11 "2020-04-16T17:17:02Z")

</div>

Ok Thank You, I’ll do that
