Hello, im trying a local deployment of nocobase and i tried to use the email notification. I used O365 and Gmail providers and it give me always error. I need to have my instance with ssl to work?
Please provide more detailed information, such as the specific error encountered and your configuration settings.
host: smtp.office365.com
port: 587
secure: true
error: “status”: “failure”,
“reason”: "{“status”:“failure”,“reason”:"802C9D2A7A720000:error:0A00010B:SSL outines:ssl3_get_record:wrong version number:…/deps/openssl/openssl/ssl/record/ssl3_record.c:354:\n\
host: smtp.office365.com
port: 465
secure: true
error: “status”: “failure”,
“reason”: "{“status”:“failure”,“reason”:"Connection timeout
[/quote]
Thank you. We are testing it.
Some email providers may not support port 465. If you are using port 587, please set secure to false. I tested this with Gmail, and it works.
Setting secure to false does not mean the connection will be unencrypted. Most SMTP servers support encryption via the STARTTLS command, which requires an initial plaintext connection before upgrading to a secure one.
NocoBase uses Nodemailer as its SMTP mail sender. You can refer to the documentation for configuration details.