# DigitalOcean + Siteground: la posta non funziona

**URL:** <https://meta.discourse.org/t/digitalocean-siteground-email-wont-work/110187>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [26 Febbraio 2019, 11:46pm UTC](https://meta.discourse.org/t/digitalocean-siteground-email-wont-work/110187 "2019-02-26T23:46:26Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![acronkright](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/acronkright/32/132469_2.png) [@acronkright](https://meta.discourse.org/u/acronkright)\
**Post date:** [26 Febbraio 2019, 11:46pm UTC](https://meta.discourse.org/t/digitalocean-siteground-email-wont-work/110187/1 "2019-02-26T23:46:27Z")

</div>

Hey everyone, I’m new here and new to working with the server side of things.

I’m 4.5 hours into DigitalOcean’s ‘One-click’ Discourse install. So much for 1 click. Everything works fine but emails NEVER send. I’ve destroyed my droplet and started over 2 times. I’ve adjusted app.xml info and rebuilt several times. Email and Password are definitely correct. I’ve sought out Siteground’s support and they say all DNS records are properly configured, and I have SPF and DKIM properly configured. I’ve tried Siteground’s suggested port 465, port 25, and port 2525, rebuilding each time.

From what I can tell, I currently have no Firewall setup in DO, so I don’t think it’s DO blocking email connections, but I’ve created a ticket with them just in case.

But nothing. I get no email from creating an admin user, and when I sign in and try to send a test email I ALWAYS get the same error:

_There was a problem sending the test email. Please double-check your mail settings, verify that your host is not blocking mail connections, and try again._

Here is the log:

```
root@DRD-Forum:/var/discourse# tail shared/standalone/log/rails/production.log
Completed 200 OK in 150ms (Views: 0.4ms | ActiveRecord: 1.3ms)
Started GET "/admin/email.json?_=1551222026511" for 190.181.36.183 at 2019-02-26 23:00:37 +0000
Processing by Admin::EmailController#index as JSON
  Parameters: {"_"=>"1551222026511"}
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 1.3ms)
Started POST "/admin/email/test" for 190.181.36.183 at 2019-02-26 23:00:44 +0000
Processing by Admin::EmailController#test as */*
  Parameters: {"email_address"=>"adcronkright@gmail.com"}
Sent mail to adcronkright@gmail.com (877.1ms)
Completed 422 Unprocessable Entity in 956ms (Views: 0.4ms | ActiveRecord: 7.2ms)
root@DRD-Forum:/var/discourse# 

```

Is it because my forum is at the subdomain ([forum.democracyrd.org](http://forum.democracyrd.org)), while my admin and system email is on the main domain ([admin@democracyrd.org](mailto:admin@democracyrd.org))?

Didn’t expect the setup to be so easy and then to beat my head against the wall for hours trying to get a single lousy email to send. Any help is appreciated.

Adam

---

_[View the full topic](https://meta.discourse.org/t/digitalocean-siteground-email-wont-work/110187)._
