# Troubleshooting Email Config Mailjet

**URL:** <https://meta.discourse.org/t/troubleshooting-email-config-mailjet/160308>\
**Category:** Self-hosting\
**Created:** [10 augustus 2020 om 05:05 UTC](https://meta.discourse.org/t/troubleshooting-email-config-mailjet/160308 "2020-08-10T05:05:13Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![CorruptBlu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/corruptblu/32/222475_2.png) [@CorruptBlu](https://meta.discourse.org/u/CorruptBlu)\
**Post date:** [10 augustus 2020 om 05:05 UTC](https://meta.discourse.org/t/troubleshooting-email-config-mailjet/160308/1 "2020-08-10T05:05:13Z")

</div>

> [@Troubleshoot email on a new Discourse install](https://meta.discourse.org/t/troubleshoot-email-on-a-new-discourse-install/16326/2):
>
> ## Did you enter email settings correctly?
> 
> Double check the settings in your `containers/app.yml` file; the simplest way is to run `./discourse-setup` again. A valid email section looks like this:
> 
> ```plaintext
> DISCOURSE_DEVELOPER_EMAILS: 'name@example.com'
> DISCOURSE_SMTP_ADDRESS: smtp.mailgun.org
> DISCOURSE_SMTP_PORT: 587
> DISCOURSE_SMTP_USER_NAME: postmaster@discourse.example.com
> DISCOURSE_SMTP_PASSWORD: aUd34cdWKCu6CTjfoH7ykk
> 
> ```
> 
> Double-check all values for correctness. Note that **it all aligns, there are no leading `#` characters, and there are single quotes around the developer email field.**

I am using Mailjet, and it wasn’t sending the email for registering the admin account, so I tried the fix above, but whenever I add the single quotes around the email I get an error as shown below:

```plaintext
(<unknown>): did not find expected key while parsing a block mapping at line 40 column 3 -e LANG=en_US.UTF-8
YAML syntax error. Please check your containers/*.yml config files.

```

Anyone know how I can fix this?

---

_[View the full topic](https://meta.discourse.org/t/troubleshooting-email-config-mailjet/160308)._
