SMTP and Emoji issue after 1.19.2 upgrade
-
I have the same problem but rebuild assets seems good for me :
-
Am I the only one not sending account confirmation mail to users in 1.19.2?
-
@kurulumu-Net no. I'm also sending a variety of emails to users with no issues and am running 1.19.2
-
@phenomlab After upgrading to 1.19.2, I see the following in the logs. I wonder why?
The SMTP information is correct.2022-02-12T21:10:25.290Z [4567/131042] - [31merror[39m: admin.email.test Error: Connection timeout at SMTPConnection._formatError (/home/nodes/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:784:19) at SMTPConnection._onError (/home/nodes/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:770:20) at Timeout.<anonymous> (/home/nodes/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:229:22) at listOnTimeout (node:internal/timers:557:17) at processTimers (node:internal/timers:500:7)
In 1.19.1, I was sending mail (via Mailgun) with 465 ports and encryption. It was working. In 1.19.2 this did not work. Now I can send mail via port 587 and StarTLS. But I don't understand why it doesn't work on port 465.
-
@kurulumu-Net can you access the port itself via a telnet command such as
telnet server.com 465
? -
@phenomlab I host multiple sites on the same server. Other sites have no issues with using SMTP on port 465. I recently migrated from NodeJS 14 to 16. I think it's caused by this. Is there any extra action required by NodeBB after NodeJS upgrade?
-
@kurulumu-Net I'm pretty sure that nodeJS version 16 isn't supported by NodeBB. You may have to downgrade this to resolve the smtp issues.
-
@phenomlab https://docs.nodebb.org/installing/os/ubuntu/
Taking this into account, I installed nodeJS v16 after switching servers -
@kurulumu-Net hmm. That certainly would indicate that 16.x is supported. I was told by @baris some time ago that this wasn't in fact supported, but that could have changed since our last discussion - or, the documentation is incorrect.