# Discourse SMTP Error

**URL:** <https://meta.discourse.org/t/discourse-smtp-error/169762>\
**Category:** Self-hosting\
**Created:** [November 10, 2020, 6:31pm UTC](https://meta.discourse.org/t/discourse-smtp-error/169762 "2020-11-10T18:31:16Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![NamVr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/namvr/32/189838_2.png) [@NamVr](https://meta.discourse.org/u/NamVr)\
**Post date:** [November 10, 2020, 6:31pm UTC](https://meta.discourse.org/t/discourse-smtp-error/169762/1 "2020-11-10T18:31:16Z")

</div>

I dont know but why… cPanel SMTP never works with Discourse.

Actually, I recently installed discourse on my brand new ubuntu vps. I have a cPanel server on a different dedicated server. cPanel SMTP settings always work with all softwares, including wordpress and flarum, but the same settings doesn’t work with Discourse.

Ok, details:

| | |
| --- | --- |
| address | `mail.domain.com` |
| port | 587 |
| user\_name | `forums@domain.com` |
| authentication | plain |
| enable\_starttls\_auto | true |

Test mail never goes. Sending test Email… for 5 minutes. After a very long time:

> 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.

This is the cPanel Email, the very first email that sends configuration.

 ![image](https://global.discourse-cdn.com/meta/original/3X/d/1/d1e9a1cc03d9f241b29098bd4220f90af5ea1cef.png)

Confused because here it is port SSL and discourse says TLS

---

_[View the full topic](https://meta.discourse.org/t/discourse-smtp-error/169762)._
