# How to modify Smtp configuration, sending fails causing a constant freeze

**URL:** https://meta.discourse.org/t/smtp/396569
**Category:** Self-hosting
**Tags:** email
**Created:** [February 20, 2026, 4:23am UTC](https://meta.discourse.org/t/smtp/396569 "2026-02-20T04:23:31Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [February 20, 2026, 7:35pm UTC](https://meta.discourse.org/t/smtp/396569/5 "2026-02-20T19:35:52Z")

</div>

> [@pfaffman](#):
>
> Your mail server doesn’t have a valid certificate

I doubt this is the case - I’d expect an explicit error complaining about this, not “end of file” which usually means premature termination of the connection by the other side.

Give that [foxmail.com](http://foxmail.com) mail is handled by [qq.com](http://qq.com), I suspect @LiRen is using qq as their outgoing mail server and the problem is:

> [@部署的Discourse用户注册且已经激活，但是邮箱一直发送激活邮件](https://meta.discourse.org/t/discourse/393612/5):
>
> It appears that the QQ mail server hangs up the connection prior to transmitting the acceptance of the message, so Discourse thinks it hasn’t been accepted when in reality it has.

---

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