# Email config help

**URL:** https://meta.discourse.org/t/email-config-help/170880
**Category:** Self-hosting
**Created:** [November 21, 2020, 8:35pm UTC](https://meta.discourse.org/t/email-config-help/170880 "2020-11-21T20:35:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Hady\_Ibrahim](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hady_ibrahim/32/200690_2.png) [@Hady\_Ibrahim](https://meta.discourse.org/u/Hady_Ibrahim)
#### Post date: [November 21, 2020, 8:35pm UTC](https://meta.discourse.org/t/email-config-help/170880/1 "2020-11-21T20:35:11Z")

</div>

Does this look off? When i run discourse doctor it says:  
Testing sending to [hadyib@gmail.com](mailto:hadyib@gmail.com) using [smtp.sendgrid.net:587](http://smtp.sendgrid.net:587).  
SMTP server connection successful.  
Sending to [hadyib@gmail.com](mailto:hadyib@gmail.com). . .  
Mail accepted by SMTP server.

I tried it with DISCOURSE\_SMTP\_ENABLE\_START\_TLS: true as well and it didn’t work

```
## TODO: List of comma delimited emails that will be made admin and developer
      ## on initial signup example 'user1@example.com,user2@example.com'
      DISCOURSE_DEVELOPER_EMAILS: 'hadyib@gmail.com'

      ## TODO: The SMTP mail server used to validate new accounts and send notifications
      # SMTP ADDRESS, username, and password are required
      # WARNING the char '#' in SMTP password can cause problems!
      DISCOURSE_SMTP_ADDRESS: smtp.sendgrid.net
      DISCOURSE_SMTP_PORT: 587
      DISCOURSE_SMTP_USER_NAME: apikey
      DISCOURSE_SMTP_PASSWORD: "SG.x1xctnAvSz-5hA0tnoJDLA._8U0PtYev7exZzqRIbtDWz2ZI1dTtqAkGb_rjP4"
      DISCOURSE_SMTP_ENABLE_START_TLS: false # (optional, default true)

```

---

<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: [November 22, 2020, 12:06am UTC](https://meta.discourse.org/t/email-config-help/170880/2 "2020-11-22T00:06:10Z")

</div>

Hey, I can’t really help you, but you’ll want to change you SMTP password as you have included it in the plaintext above.

Some basics on troubleshooting emails can be found here: [Troubleshoot email on a new Discourse install](https://meta.discourse.org/t/troubleshooting-email-on-a-new-discourse-install/16326)

For people to help you it’s helpful to include what exactly is wrong, and what your log files say both from Discourse and Sendgrid.

R

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [November 22, 2020, 12:50am UTC](https://meta.discourse.org/t/email-config-help/170880/3 "2020-11-22T00:50:07Z")

</div>

Please change your smtp password ASAP

---

<div class="post-metadata">

### Author: ![Hady\_Ibrahim](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hady_ibrahim/32/200690_2.png) [@Hady\_Ibrahim](https://meta.discourse.org/u/Hady_Ibrahim)
#### Post date: [November 22, 2020, 1:19am UTC](https://meta.discourse.org/t/email-config-help/170880/4 "2020-11-22T01:19:31Z")

</div>

I put a false one there just to show nearly exactly what I have since it isn’t working and I’ve tried almost all solutions. Thanks for the concern though. Do you see any issues in the code?
