# לא ניתן לשלוח דוא"ל - בעיה עם פורט 465

**URL:** https://meta.discourse.org/t/cannot-send-email-problem-with-port-465/246004
**Category:** Self-hosting
**Tags:** email
**Created:** [18 בנובמבר,‏ 2022,‏ 4:11am UTC](https://meta.discourse.org/t/cannot-send-email-problem-with-port-465/246004 "2022-11-18T04:11:29Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [19 בנובמבר,‏ 2022,‏ 8:59am UTC](https://meta.discourse.org/t/cannot-send-email-problem-with-port-465/246004/7 "2022-11-19T08:59:34Z")

</div>

I think you’re right.

And it turns out you’re not the first… when searching for `DISCOURSE_SMTP_PORT 465` I found a whole pile of similar issues.

- [Not able to send email Net::ReadTimeout - #18 by Stranik](https://meta.discourse.org/t/not-able-to-send-email-net-readtimeout/98419/18)
- [Email not working but i can access smtp server from container](https://meta.discourse.org/t/email-not-working-but-i-can-access-smtp-server-from-container/168132)
- [DigitalOcean + Siteground Email via port 465 won’t work (2525 will work)](https://meta.discourse.org/t/digitalocean-siteground-email-via-port-465-won-t-work-2525-will-work/125067)
- [Problem with SMTP configuration](https://meta.discourse.org/t/problem-with-smtp-configuration/65892)
- [Post-install, Curl can send email, but Discourse cannot. Help to fix?](https://meta.discourse.org/t/post-install-curl-can-send-email-but-discourse-cannot-help-to-fix/159900)
- [Mail problem on discourse with reverse proxy](https://meta.discourse.org/t/mail-problem-on-discourse-with-reverse-proxy/217563)
- [Can't setup SMTP with SSL/TLS](https://meta.discourse.org/t/cant-setup-smtp-with-ssl-tls/190104)
- [SMTP email issue Net::Timeout - #3 by neounix](https://meta.discourse.org/t/smtp-email-issue-net-timeout/180080/3)

The last one contains [a link to the (possible?) solution](https://github.com/discourse/discourse/commit/9aeece465f222aa291891d8590ae3660097de37a).

```plaintext
With this patch, it's possible to set
DISCOURSE_SMTP_FORCE_TLS=true to use implicit TLS on port 465

```

---

_[View the full topic](https://meta.discourse.org/t/cannot-send-email-problem-with-port-465/246004)._
