-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem Sending Mail via SSL #195
Comments
Can you share your configuration file with password removed so it can be look at ? |
Sure! Here is the complete file - I tried all possibilities with "secure" and "require tls" option, but didn´t get lucky so far. Perhaps I am missing something very basic since I am also having trouble with video files converting ... see #196 "team_name": "Spacedeck netzwerk n", "host": "::", "storage_dialect": "sqlite", "storage_host": "localhost", "storage_local_path": "./storage", "mongodb_host": "localhost", "export_api_secret": "XXX", "mail_provider": "smtp", |
This looks like issue #38 where server port was not configured to handle tls. Can you check that the smtp host handle tls on port 587 ?
Besides nodemailer documentation configuration show that mail_smtp_secure flag should be false for ports other than 465 (See https://nodemailer.com/smtp/). |
@rds13 Thank you so much for your help! I did mix up SSL and TLS Ports. Checking with the command you suggested, I found out that my Mailserver (as well as the G-Mail SMTP-Relay) don´t support TLS on Port 587 but do on Port 465. However when trying around before I also forgot to rebuild the docker image, and thus didn´t see any changes. I got it working now. Thank you very much! |
Expected Behavior
Password reset mails get send.
Actual Behavior
Error "Error sending email: { [Error: 140439642179392:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:"
Possible Solution
Unfortunately I have no Idea. I have tried using my Mail Server with Hetzner mail.your-server.de as well as Google SMTP Relay smtp-relay.gmail.com both give the same error when trying to send password reset mails. I am thankful for any Ideas!
Specifications
The text was updated successfully, but these errors were encountered: