# Discourse app.yml doesn't like email password contain "#"

**URL:** <https://meta.discourse.org/t/discourse-app-yml-doesnt-like-email-password-contain/58437>\
**Category:** Bug\
**Created:** [6. März 2017 um 00:12 UTC](https://meta.discourse.org/t/discourse-app-yml-doesnt-like-email-password-contain/58437 "2017-03-06T00:12:56Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![int19h](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/int19h/32/71591_2.png) [@int19h](https://meta.discourse.org/u/int19h)\
**Post date:** [17. März 2017 um 08:38 UTC](https://meta.discourse.org/t/discourse-app-yml-doesnt-like-email-password-contain/58437/13 "2017-03-17T08:38:12Z")

</div>

It’s passed correctly to Docker if you use the quotes. The problem is that once it ends up inside discourse.conf, it’s not quoted _there_ - and then # is interpreted as beginning of the comment for that line.

Note that this is very to trip up if you 1) use a mail service that lets you provide your own password, and 2) use a strong password generator. Just spent several days trying to figure out why mail wasn’t working on a fresh Discourse docker install, and this was the culprit.

---

_[View the full topic](https://meta.discourse.org/t/discourse-app-yml-doesnt-like-email-password-contain/58437)._
