# Not getting an Activation Email

**URL:** https://meta.discourse.org/t/not-getting-an-activation-email/324050
**Category:** Self-hosting
**Tags:** email
**Created:** [August 29, 2024, 8:38pm UTC](https://meta.discourse.org/t/not-getting-an-activation-email/324050 "2024-08-29T20:38:13Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![yang1981](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yang1981/32/445178_2.png) [@yang1981](https://meta.discourse.org/u/yang1981)
#### Post date: [August 29, 2024, 8:38pm UTC](https://meta.discourse.org/t/not-getting-an-activation-email/324050/1 "2024-08-29T20:38:13Z")

</div>

I followed the standard installation progress, but still can not get an activation mail  
I’m very sure my email configuration in app.yml is correct, I wrote a test program in the same docker, with the same config files, and it worked properly  
Run discourse-doctor, tell me it can connect my smtp server successfully, but sending mail failed  
I test my email in outlook, on my server with a python script, and in Docker app, it all worked  
I don’t know what’s the problem

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [August 29, 2024, 9:51pm UTC](https://meta.discourse.org/t/not-getting-an-activation-email/324050/2 "2024-08-29T21:51:31Z")

</div>

> [@yang1981](#):
>
> but sending mail failed

Tell us _how_ it failed!

---

<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: [August 29, 2024, 10:08pm UTC](https://meta.discourse.org/t/not-getting-an-activation-email/324050/3 "2024-08-29T22:08:40Z")

</div>

This is usually because your notification email domain does not match what you set it up for.

You can check the logs at wherever is sending (or refusing to send) your email.

---

<div class="post-metadata">

### Author: ![yang1981](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yang1981/32/445178_2.png) [@yang1981](https://meta.discourse.org/u/yang1981)
#### Post date: [August 29, 2024, 10:34pm UTC](https://meta.discourse.org/t/not-getting-an-activation-email/324050/4 "2024-08-29T22:34:19Z")

</div>

log showes redis got something wrong， i’m working on it

---

<div class="post-metadata">

### Author: ![yang1981](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yang1981/32/445178_2.png) [@yang1981](https://meta.discourse.org/u/yang1981)
#### Post date: [August 31, 2024, 5:25pm UTC](https://meta.discourse.org/t/not-getting-an-activation-email/324050/5 "2024-08-31T17:25:17Z")

</div>

Now I know there is something wrong with redis, redis can’t connect to port6397, I tried everything. still can’t fix it

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [August 31, 2024, 7:20pm UTC](https://meta.discourse.org/t/not-getting-an-activation-email/324050/6 "2024-08-31T19:20:01Z")

</div>

FWIW Redis listens at 6379, not 6397. Not sure if it’s a typo or not.  
But you really need to tell us more, not “log shows … something wrong” but the actual log, and such.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [August 31, 2024, 8:42pm UTC](https://meta.discourse.org/t/not-getting-an-activation-email/324050/7 "2024-08-31T20:42:17Z")

</div>

I don’t know nothing, but this happends with 6379 and it is normal.

```plaintext
1226:M 31 Aug 2024 20:12:31.886 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
1226:M 31 Aug 2024 20:12:31.886 # Failed listening on port 6379 (TCP), aborting.

```
