Email not working with SparkPost

AI-generated summary

ichy-wayland is having trouble sending emails via SparkPost while setting up a self-hosted Discourse forum. Although they can send emails through SparkPost’s site using their API key and domain, the Discourse test email fails with a generic error. They’ve confirmed with DigitalOcean that email traffic is allowed. richleland provided a SparkPost support guide for Discourse setup and referenced a resolved similar thread, also inviting them to join SparkPost’s Slack community. SidV asked if all “domain sender” settings were configured correctly. zogstrip later followed up to ask if the issue was resolved.

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?

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

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

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

Did you config all “domain sender” options?

@ichy-wayland did you get it to work?