# Email failure after install

**URL:** <https://meta.discourse.org/t/email-failure-after-install/145315>\
**Category:** Self-hosting\
**Created:** [March 23, 2020, 10:16pm UTC](https://meta.discourse.org/t/email-failure-after-install/145315 "2020-03-23T22:16:32Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [March 25, 2020, 6:49am UTC](https://meta.discourse.org/t/email-failure-after-install/145315/7 "2020-03-25T06:49:53Z")

</div>

> [@sturdy2](#):
>
> `Check your app.yml and ensure that the mail server settings are correct.`

Suggestions, in logical order of execution:

1. Verify that your droplet can connect to the mail server via telnet
2. Verify that the SMTP credentials are functioning independent of the droplet

If 1 fails then you have a network issue, DigitalOcean has been known to block certain outbound ports, and this is the issue 85% of the time.

If both 1 and 2 works then check your app.yml, it’s likely the password either includes a character which is preventing it from being parsed properly (~5% of the time), or you didn’t enter it correctly.

Re the mail server, if you’re hosting a mail server rather than using one of the recommended mail providers then SPF and DKIM can definitely help with deliverability, but you’re likely to be at the tip of the iceberg in terms of mail problems.

---

_[View the full topic](https://meta.discourse.org/t/email-failure-after-install/145315)._
