# Fresh install. Works. Sendgrid not sending emails

**URL:** https://meta.discourse.org/t/fresh-install-works-sendgrid-not-sending-emails/68395
**Category:** Support
**Created:** [8월 19, 2017, 8:32오후 UTC](https://meta.discourse.org/t/fresh-install-works-sendgrid-not-sending-emails/68395 "2017-08-19T20:32:28Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Ham](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@Ham](https://meta.discourse.org/u/Ham)
#### Post date: [8월 19, 2017, 8:32오후 UTC](https://meta.discourse.org/t/fresh-install-works-sendgrid-not-sending-emails/68395/1 "2017-08-19T20:32:28Z")

</div>

Previous install sendgrid settings are kept the same. Nothing changed there when I first moved the server. Worked fine. Now Im moving back to another server and the same credentials are not working? Was there any change on that? This is what I am currently using.

```
DISCOURSE_SMTP_ADDRESS: smtp.sendgrid.net
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: apikey
DISCOURSE_SMTP_PASSWORD: "SG.Y5Cxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

```

---

<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: [8월 19, 2017, 9:40오후 UTC](https://meta.discourse.org/t/fresh-install-works-sendgrid-not-sending-emails/68395/2 "2017-08-19T21:40:21Z")

</div>

Digital ocean silently blocks outgoing smtp traffic on some accounts.

Can you connect to sendgrid from your server?

---

<div class="post-metadata">

### Author: ![Ham](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@Ham](https://meta.discourse.org/u/Ham)
#### Post date: [8월 19, 2017, 9:43오후 UTC](https://meta.discourse.org/t/fresh-install-works-sendgrid-not-sending-emails/68395/3 "2017-08-19T21:43:59Z")

</div>

Yeah I just figured out thats what it is. I can send it from another server but not on digital ocean. Even tho my account there is aged and verified.

---

<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: [8월 19, 2017, 9:46오후 UTC](https://meta.discourse.org/t/fresh-install-works-sendgrid-not-sending-emails/68395/4 "2017-08-19T21:46:08Z")

</div>

Try using port 2525. I now use it on all my installs by default.

---

<div class="post-metadata">

### Author: ![Ham](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@Ham](https://meta.discourse.org/u/Ham)
#### Post date: [8월 19, 2017, 10:12오후 UTC](https://meta.discourse.org/t/fresh-install-works-sendgrid-not-sending-emails/68395/5 "2017-08-19T22:12:31Z")

</div>

You’re a lifesaver! That got around it.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [8월 28, 2019, 8:53오전 UTC](https://meta.discourse.org/t/fresh-install-works-sendgrid-not-sending-emails/68395/6 "2019-08-28T08:53:30Z")

</div>



---

<div class="post-metadata">

### Author: ![schleifer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schleifer/32/86416_2.png) [@schleifer](https://meta.discourse.org/u/schleifer)
#### Post date: [8월 28, 2019, 9:54오전 UTC](https://meta.discourse.org/t/fresh-install-works-sendgrid-not-sending-emails/68395/7 "2019-08-28T09:54:35Z")

</div>


