# Post-install, Curl can send email, but Discourse cannot. Help to fix?

**URL:** <https://meta.discourse.org/t/post-install-curl-can-send-email-but-discourse-cannot-help-to-fix/159900>\
**Category:** Self-hosting\
**Created:** [5 augustus 2020 om 11:17 UTC](https://meta.discourse.org/t/post-install-curl-can-send-email-but-discourse-cannot-help-to-fix/159900 "2020-08-05T11:17:40Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![onar3d](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/onar3d/32/189173_2.png) [@onar3d](https://meta.discourse.org/u/onar3d)\
**Post date:** [6 augustus 2020 om 11:22 UTC](https://meta.discourse.org/t/post-install-curl-can-send-email-but-discourse-cannot-help-to-fix/159900/16 "2020-08-06T11:22:27Z")

</div>

After a few more attempts (thank you very much @IAmGav!), my Discourse setup was confirmed to work with a different email server, which rules out a number of things to try.

My email server provider got back to me with an error log message form their part and suggestion:

_The engineer has checked the logs and the error seen from their ip is with the SSL settings. Most likely they are using an old version/connection settings_

 

Proof:  
TLS error on connection from [95.216.139.49]:33568 SSL\_accept: TCP connection closed by peer

_Try with the SSL mode turned OFF just to see if it works._

I tried with  
DISCOURSE\_SMTP\_ENABLE\_START\_TLS set to false as per above, on port 465 as well as 26 (listed by my provider as the port for non-SSL connection), neither worked.

Could it be because I have not purchased an SSL certificate for the domain [thewizardofosc.com](http://thewizardofosc.com), I realize now after reading up a bit more?

---

_[View the full topic](https://meta.discourse.org/t/post-install-curl-can-send-email-but-discourse-cannot-help-to-fix/159900)._
