# Digital Ocean, SendGrid, Netlfity - Register Admin account email not coming through

**URL:** <https://meta.discourse.org/t/digital-ocean-sendgrid-netlfity-register-admin-account-email-not-coming-through/144962>\
**Category:** Self-hosting\
**Created:** [20 במרץ,‏ 2020,‏ 5:43pm UTC](https://meta.discourse.org/t/digital-ocean-sendgrid-netlfity-register-admin-account-email-not-coming-through/144962 "2020-03-20T17:43:04Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![erickimme](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erickimme/32/173568_2.png) [@erickimme](https://meta.discourse.org/u/erickimme)\
**Post date:** [20 במרץ,‏ 2020,‏ 5:43pm UTC](https://meta.discourse.org/t/digital-ocean-sendgrid-netlfity-register-admin-account-email-not-coming-through/144962/1 "2020-03-20T17:43:04Z")

</div>

I am using Digital Ocean(hosting), SendGrid(SMTP), Netlify (Domain, DNS) to setup my open forum for my blog.

I got Domain, DNS part setup and was able to get to the registration page.

 ![Screen Shot 2020-03-20 at 10.20.03 AM](https://global.discourse-cdn.com/meta/original/3X/3/b/3b252cae9de8be425bb467a8dacf9b123a9efb89.png)

But the email never gets to the Developer email.

I tried the configurations below in `nano containers/app.yml`  
DISCOURSE\_HOSTNAME: ‘[discourse.myblog.com](http://discourse.myblog.com)’  
DISCOURSE\_DEVELOPER\_EMAILS: ‘adminEmail@gmail.com’

```
DISCOURSE_SMTP_ADDRESS: smtp.sendgrid.net
DISCOURSE_SMTP_PORT: 2525
DISCOURSE_SMTP_USER_NAME: {myusername}
DISCOURSE_SMTP_PASSWORD: XX.xxxx.xxxxxxxxx
DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)

DISCOURSE_SMTP_ADDRESS: smtp.sendgrid.net
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: {myusername}
DISCOURSE_SMTP_PASSWORD: XX.xxxx.xxxxxxxxx
DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)

DISCOURSE_SMTP_ADDRESS: smtp.sendgrid.net
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: apiKey
DISCOURSE_SMTP_PASSWORD: XX.xxxx.xxxxxxxxx
DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)

DISCOURSE_SMTP_ADDRESS: smtp.sendgrid.net
DISCOURSE_SMTP_PORT: 25
DISCOURSE_SMTP_USER_NAME: {myusername}
DISCOURSE_SMTP_PASSWORD: XX.xxxx.xxxxxxxxx
DISCOURSE_SMTP_ENABLE_START_TLS: false # (optional, default true)

DISCOURSE_SMTP_ADDRESS: smtp.sendgrid.net
DISCOURSE_SMTP_PORT: 25
DISCOURSE_SMTP_USER_NAME: {myusername}
DISCOURSE_SMTP_PASSWORD: XX.xxxx.xxxxxxxxx
DISCOURSE_SMTP_ENABLE_START_TLS: false # (optional, default true)
DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: none

```

When I run ./discourse-doctor and test sending an email, I get  
`535 Authentication failed: Bad username / password`

---

_[View the full topic](https://meta.discourse.org/t/digital-ocean-sendgrid-netlfity-register-admin-account-email-not-coming-through/144962)._
