# Error: "There are 965 email jobs that failed. Check your app.yml and ensure that the mail server settings are correct."

**URL:** <https://meta.discourse.org/t/error-there-are-965-email-jobs-that-failed-check-your-app-yml-and-ensure-that-the-mail-server-settings-are-correct/59879>\
**Category:** Self-hosting\
**Tags:** email\
**Created:** [March 25, 2017, 2:25pm UTC](https://meta.discourse.org/t/error-there-are-965-email-jobs-that-failed-check-your-app-yml-and-ensure-that-the-mail-server-settings-are-correct/59879 "2017-03-25T14:25:58Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Knigel](https://avatars.discourse-cdn.com/v4/letter/k/bbe5ce/32.png) [@Knigel](https://meta.discourse.org/u/Knigel)\
**Post date:** [March 25, 2017, 2:25pm UTC](https://meta.discourse.org/t/error-there-are-965-email-jobs-that-failed-check-your-app-yml-and-ensure-that-the-mail-server-settings-are-correct/59879/1 "2017-03-25T14:25:58Z")

</div>

Hi there, woke up this morning to some sort of email error. My Discourse seemed to be running fine until this.

In Sidekiq, I get many errors such as this:

```
"16 default Jobs::UserEmail 	
{"type"=>"digest", "user_id"=>8, "current_site_id"=>"default"}

Jobs::HandledExceptionWrapper: Wrapped SocketError: getaddrinfo: No address associated with hostname"

```

Also this one:

```
"5 default Jobs::VersionCheck 	
{}
	
Jobs::HandledExceptionWrapper: Wrapped SocketError: Failed to open TCP connection to api.discourse.org:443 (getaddrinfo: No address associated with hostname)"

```

I’m not sure how to access the app.yml to check. Can’t seem to find it.

Thanks for your help!

---

_[View the full topic](https://meta.discourse.org/t/error-there-are-965-email-jobs-that-failed-check-your-app-yml-and-ensure-that-the-mail-server-settings-are-correct/59879)._
