Summary
When I register a new account with my instance, I am unable to verify emails. When attempting to resend the email verification I get the following error:
{"level":"error","time":"2026-06-18T13:30:58.589Z","service":"
@pkgs/email/src/SmtpEmailProvider","env":"production","error":{"type":"Error","message":"401DD450667F0000:error:0A00010B:SSL routines:tls_validate_record_header:wrong version number:../deps/openssl/openssl/ssl/record/methods/tlsany_meth.c:77:\n","stack":"Error: 401DD450667F0000:error:0A00010B:SSL routines:tls_validate_record_header:wrong version number:../deps/openssl/openssl/ssl/record/methods/tlsany_meth.c:77:\n","library":"SSL routines","reason":"wrong version number","code":"ESOCKET","command":"CONN"},"msg":"SMTP send failed"}
{"level":"info","time":"2026-06-18T13:30:58.589Z","service":"fluxer-api","env":"production","method":"POST","path":"/v1/auth/verify/resend","status":204,"durationMs":209,"msg":"Request completed"}
I am using outlook basic auth with starttls for my smtp provider.
This is my .env
FLUXER_EMAIL_ENABLED=true
FLUXER_EMAIL_PROVIDER=smtp
FLUXER_EMAIL_FROM_EMAIL=myemail@outlook.com
FLUXER_EMAIL_FROM_NAME=aaron
FLUXER_EMAIL_SMTP_HOST=smtp-mail.outlook.com
FLUXER_EMAIL_SMTP_PORT=587
FLUXER_EMAIL_SMTP_USERNAME=myemail@outlook.com
FLUXER_EMAIL_SMTP_PASSWORD=app_password
FLUXER_EMAIL_SMTP_SECURE=true
I have the same exact settings applied in the /admin/instance-config. I have also tried my zoho email with my domain email.
Steps to reproduce
Edit .env and /admin/instance-config settings for SMTP.
I have tried numerous variations with different ports (25 and 465), with/without tls and the SECURE env variable, even though I am 100% confident I am using the correct settings (other self-hosted services setup successfully with this same SMTP config).
Environment
PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
NAME="Debian GNU/Linux"
VERSION_ID="13"
VERSION="13 (trixie)"
VERSION_CODENAME=trixie
DEBIAN_VERSION_FULL=13.5
ID=debian
HOME_URL="
https://www.debian.org/"
SUPPORT_URL="
https://www.debian.org/support"
BUG_REPORT_URL="
https://bugs.debian.org/"
Logs or screenshots
{"level":"error","time":"2026-06-18T13:30:58.589Z","service":"
@pkgs/email/src/SmtpEmailProvider","env":"production","error":{"type":"Error","message":"401DD450667F0000:error:0A00010B:SSL routines:tls_validate_record_header:wrong version number:../deps/openssl/openssl/ssl/record/methods/tlsany_meth.c:77:\n","stack":"Error: 401DD450667F0000:error:0A00010B:SSL routines:tls_validate_record_header:wrong version number:../deps/openssl/openssl/ssl/record/methods/tlsany_meth.c:77:\n","library":"SSL routines","reason":"wrong version number","code":"ESOCKET","command":"CONN"},"msg":"SMTP send failed"}
{"level":"info","time":"2026-06-18T13:30:58.589Z","service":"fluxer-api","env":"production","method":"POST","path":"/v1/auth/verify/resend","status":204,"durationMs":209,"msg":"Request completed"}
Checks
- ☑ I searched existing issues.
- ☑ I wrote this report in my own words, except for direct translation if needed.