Configure QQ Mail sending, email arrives normally, but Discourse reports errors and sends duplicates

Thank you for the reply. The two examples you provided are almost identical to my situation. I have carefully reviewed the relevant content, but I still cannot figure out how to solve it.

There are indeed errors in the logs.