# Email not working with SparkPost

**URL:** https://meta.discourse.org/t/email-not-working-with-sparkpost/42502
**Category:** Self-hosting
**Created:** [April 13, 2016, 2:34pm UTC](https://meta.discourse.org/t/email-not-working-with-sparkpost/42502 "2016-04-13T14:34:16Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![ichy-wayland](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ichy-wayland/32/121865_2.png) [@ichy-wayland](https://meta.discourse.org/u/ichy-wayland)
#### Post date: [April 13, 2016, 2:34pm UTC](https://meta.discourse.org/t/email-not-working-with-sparkpost/42502/1 "2016-04-13T14:34:16Z")

</div>

Hey! Im trying to setup a little Discourse forum. Im using SparkPost for SMTP, and as far as i can see i’ve setuped it correctly. I can send emails from the SparkPost site with my API key & domain, but when i try to send the Discourse test email it just displays the default email error message. I’ve already contacted my host (DigitalOcean) and email traffic is free on my server. So, how would i troubleshoot this? Is there any known problems with Sparkpost or anything like that?

---

<div class="post-metadata">

### Author: ![richleland](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richleland/32/121850_2.png) [@richleland](https://meta.discourse.org/u/richleland)
#### Post date: [April 13, 2016, 9:10pm UTC](https://meta.discourse.org/t/email-not-working-with-sparkpost/42502/2 "2016-04-13T21:10:51Z")

</div>

Hi - we’ve got a guide for setting up Discourse with SparkPost here:  
[https://support.sparkpost.com/customer/portal/articles/2340644-using-sparkpost-with-discourse](https://support.sparkpost.com/customer/portal/articles/2340644-using-sparkpost-with-discourse)

I responded to a similar thread over here and it looks like that user was able to get things set up using the guide:

> [@Using Discourse with SparkPost](https://meta.discourse.org/t/using-discourse-with-sparkpost/36175):
>
> I can’t get my Discourse installation to work with SparkPost. Let’s say my domain is [example.com](http://example.com). I have it registered and verified as a sending domain with SparkPost. The relevant part of my app.yml looks like this: DISCOURSE\_HOSTNAME: 'www.example.com' DISCOURSE\_SMTP\_ADDRESS: smtp.sparkpostmail.com DISCOURSE\_SMTP\_PORT: 587 DISCOURSE\_SMTP\_USER\_NAME: SMTP\_Injection DISCOURSE\_SMTP\_PASSWORD: (api key) Yet when I try to complete my Discourse setup by creating an admin account, I do not receive th…

Feel free to jump on our community Slack if you’d like as well - thanks for giving us a try!

---

<div class="post-metadata">

### Author: ![SidV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidv/32/119460_2.png) [@SidV](https://meta.discourse.org/u/SidV)
#### Post date: [April 14, 2016, 12:54pm UTC](https://meta.discourse.org/t/email-not-working-with-sparkpost/42502/3 "2016-04-14T12:54:12Z")

</div>

> [@ichy-wayland](#):
>
> when i try to send the Discourse test email it just displays the default email error message.

Did you config all “domain sender” options?

---

<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: [February 13, 2019, 11:40pm UTC](https://meta.discourse.org/t/email-not-working-with-sparkpost/42502/6 "2019-02-13T23:40:50Z")

</div>



---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [February 15, 2019, 6:06pm UTC](https://meta.discourse.org/t/email-not-working-with-sparkpost/42502/7 "2019-02-15T18:06:52Z")

</div>

@ichy-wayland did you get it to work?

---

<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: [March 17, 2019, 6:06pm UTC](https://meta.discourse.org/t/email-not-working-with-sparkpost/42502/8 "2019-03-17T18:06:58Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
