# I cant setup smtp. I tried everything

**URL:** https://meta.discourse.org/t/i-cant-setup-smtp-i-tried-everything/90399
**Category:** Self-hosting
**Created:** [6월 21, 2018, 2:24오후 UTC](https://meta.discourse.org/t/i-cant-setup-smtp-i-tried-everything/90399 "2018-06-21T14:24:47Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![bereno](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bereno/32/100206_2.png) [@bereno](https://meta.discourse.org/u/bereno)
#### Post date: [6월 21, 2018, 2:24오후 UTC](https://meta.discourse.org/t/i-cant-setup-smtp-i-tried-everything/90399/1 "2018-06-21T14:24:47Z")

</div>

I tried first Gmail bu it did not work. Than I tried Elastic mail and it did not work too. I cant see any error or problem but mails are not arrive.

I used Intuz on AWS. I opened port. What should I do?

---

<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: [6월 21, 2018, 5:00오후 UTC](https://meta.discourse.org/t/i-cant-setup-smtp-i-tried-everything/90399/2 "2018-06-21T17:00:23Z")

</div>

Gmail will not work. Gsuite is not recommended. ElasticEmail is not designed for transactional email. It is likely difficult to configure Intuz to work. I recommend mailgun or SparkPost. You will need to follow instructions on those sites for configuring them to deliver mail for your forum’s (sub)domain name.

For $99 I’ll configure Mailgun for your domain, install Discourse and send you explicit instructions for the DNS configuration that is needed. [Redirecting…](https://www.literatecomputing.com/product/discourse-install/)

---

<div class="post-metadata">

### Author: ![bereno](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bereno/32/100206_2.png) [@bereno](https://meta.discourse.org/u/bereno)
#### Post date: [6월 21, 2018, 5:13오후 UTC](https://meta.discourse.org/t/i-cant-setup-smtp-i-tried-everything/90399/3 "2018-06-21T17:13:37Z")

</div>

Thank you. if I setup Discourse on EC2 without Intuz can I use Gmail or ElasticEmail? I tried Bitnami script. İt is work but I dont like bitnami because slow I think.

---

<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: [6월 21, 2018, 5:16오후 UTC](https://meta.discourse.org/t/i-cant-setup-smtp-i-tried-everything/90399/4 "2018-06-21T17:16:28Z")

</div>

So it seems that you tried everything except for reading the installation instructions. Check these out! 😉

> [@bereno](#):
>
> can I use Gmail or ElasticEmail?

[https://github.com/discourse/discourse/blob/master/docs/INSTALL-email.md](https://github.com/discourse/discourse/blob/master/docs/INSTALL-email.md)

> [@bereno](#):
>
> I tried Bitnami script.

[https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md)

---

<div class="post-metadata">

### Author: ![purldator](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@purldator](https://meta.discourse.org/u/purldator)
#### Post date: [6월 21, 2018, 5:20오후 UTC](https://meta.discourse.org/t/i-cant-setup-smtp-i-tried-everything/90399/5 "2018-06-21T17:20:45Z")

</div>

You have a typo. It’s `smtp.elasticemail.com` with an ‘e’. It will work with everything being approved to send (DKIM, SPF records approved).

---

<div class="post-metadata">

### Author: ![bereno](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bereno/32/100206_2.png) [@bereno](https://meta.discourse.org/u/bereno)
#### Post date: [6월 21, 2018, 5:34오후 UTC](https://meta.discourse.org/t/i-cant-setup-smtp-i-tried-everything/90399/6 "2018-06-21T17:34:57Z")

</div>

I want to use Gmail for inbox and Mailgun for notif. mails vs. is this possible? can I use both

---

<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: [6월 21, 2018, 5:36오후 UTC](https://meta.discourse.org/t/i-cant-setup-smtp-i-tried-everything/90399/7 "2018-06-21T17:36:42Z")

</div>

Yes, sending and receiving mail are two distinct processes.

You can use Gmail mailbox for retrieving mail via POP3 as described in this #howto [Set up reply by email with POP3 polling](https://meta.discourse.org/t/set-up-reply-via-email-support/14003)

---

<div class="post-metadata">

### Author: ![bereno](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bereno/32/100206_2.png) [@bereno](https://meta.discourse.org/u/bereno)
#### Post date: [6월 24, 2018, 7:55오후 UTC](https://meta.discourse.org/t/i-cant-setup-smtp-i-tried-everything/90399/9 "2018-06-24T19:55:06Z")

</div>

I cant see any delivery method information this screen. Is this normal?

 ![30](https://global.discourse-cdn.com/meta/original/3X/1/a/1aeeceff48a260eee81d73b0911ce6347bcb22a1.png)

---

<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: [6월 25, 2018, 3:56오전 UTC](https://meta.discourse.org/t/i-cant-setup-smtp-i-tried-everything/90399/10 "2018-06-25T03:56:37Z")

</div>

Look at the mailgun logs.

---

<div class="post-metadata">

### Author: ![bereno](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bereno/32/100206_2.png) [@bereno](https://meta.discourse.org/u/bereno)
#### Post date: [6월 25, 2018, 9:05오전 UTC](https://meta.discourse.org/t/i-cant-setup-smtp-i-tried-everything/90399/11 "2018-06-25T09:05:23Z")

</div>

nothing seems ☹

 ![16](https://global.discourse-cdn.com/meta/original/3X/b/f/bfd81e356368cb1516f683646cd88524d19e7a62.png)

---

<div class="post-metadata">

### Author: ![bereno](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bereno/32/100206_2.png) [@bereno](https://meta.discourse.org/u/bereno)
#### Post date: [6월 25, 2018, 10:35오전 UTC](https://meta.discourse.org/t/i-cant-setup-smtp-i-tried-everything/90399/12 "2018-06-25T10:35:54Z")

</div>

Should I open any port or something?

---

<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: [6월 25, 2018, 3:42오후 UTC](https://meta.discourse.org/t/i-cant-setup-smtp-i-tried-everything/90399/13 "2018-06-25T15:42:38Z")

</div>

No. That is not normal. Did you use `discourse-setup` to configure SMTP?

---

<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: [6월 25, 2018, 4:48오후 UTC](https://meta.discourse.org/t/i-cant-setup-smtp-i-tried-everything/90399/15 "2018-06-25T16:48:24Z")

</div>

> [@bereno](#):
>
> I can change app.yml but I cant use discourse-setup. Must I use discourse-setup? I changed app.yml and relaunch.

Why can’t you use `discourse-setup`? There are many conditions in which you can’t use it (e.g., you’re running on a non-standard port). From some of your output it’s clear that your app.yml isn’t configuring SMTP correctly, if at all.

No, there is no requirement for using discourse-setup, but since you’re apparently unable to configure app.yml without it, that was my suggestion.
