postiz-app
postiz-app copied to clipboard
SMTP throws ssl3_get_record error with port 587
📜 Description
When configuring nodemailer with GMail’s SMTP with port 587, no email is sent. The error is not visible in the frontend.
👟 Reproduction steps
Use these env vars: EMAIL_PROVIDER: "nodemailer" EMAIL_HOST: "smtp.gmail.com" EMAIL_PORT: "587" EMAIL_SECURE: "true"
Attempt to send an email, for example a new user invite.
👍 Expected behavior
Email goes out
👎 Actual Behavior with Screenshots
From the docker logs:
[Nest] 160 - 12/03/2024, 4:39:42 PM ERROR [ExceptionsHandler] C861B82B4F7C0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:354:
Error: C861B82B4F7C0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:354:
💻 Operating system
Linux
🤖 Node Version
v20.17.0
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
- [X] I checked and didn't find similar issue
Are you willing to submit PR?
None