Unable to Configure SMTP Settings for Email Notifications in NodeBB
-
Hello NodeBB community,
I'm facing an issue with configuring SMTP settings for email notifications in my NodeBB instance, and I'm seeking your expertise to help me resolve it.
Here's a brief overview of the problem:
Problem Description:
I have been trying to set up email notifications on my NodeBB forum, but despite multiple attempts, I am unable to configure the SMTP settings correctly. I have double-checked the SMTP server details, port, username, and password, but the email notifications are still not being sent.Error Message:
When I navigate to the Emailer (SMTP) section in the admin panel and try to send a test email, I receive the following error message: "Failed to send email. Please check your SMTP configuration and try again." Unfortunately, the error message doesn't provide much detail about the specific issue.What I've Tried:
Double-checked SMTP server details and credentials.
Tried different SMTP ports.
Verified that the SMTP server allows connections from the NodeBB server.
Checked the NodeBB logs, but couldn't find any relevant information regarding the email sending issue.Additional Information:
NodeBB is running on a DigitalOcean droplet with the following details: Ubuntu 20.04, Node.js v14.17.0, Redis 6.2.5.
The forum is accessible without any issues.
Other functionalities in NodeBB seem to be working fine.
I would appreciate any guidance or suggestions to troubleshoot and resolve this SMTP configuration issue. If anyone has faced a similar problem or has expertise in NodeBB email configuration, your assistance would be invaluable. Thank you in advance for your time and support. -
What version of NodeBB?
You should see the relevant error in the output log. You should be able to capture the message by running
./nodebb log
and then trying the test email.Have you tried the same SMTP settings in a separate email client?