Default SMTP port to 587 instead of 465
Hetzner (and most VPS providers) block outbound 465 by default as anti-spam policy. Port 587 with STARTTLS is open and supported by Resend (and any standard SMTP service). The transporter code already flips `secure: false` automatically when port != 465, so no code change is needed — just the default.
This commit is contained in:
parent
304708fb6c
commit
356e2c8ee6
1 changed files with 4 additions and 2 deletions
|
|
@ -1,8 +1,10 @@
|
|||
PORT=3000
|
||||
|
||||
# SMTP — defaults are set for Resend (smtp.resend.com:465)
|
||||
# SMTP — defaults are set for Resend.
|
||||
# Port 587 (STARTTLS) is used instead of 465 (implicit TLS) because most VPS
|
||||
# providers (Hetzner, DigitalOcean, etc.) block outbound 465 by default.
|
||||
SMTP_HOST=smtp.resend.com
|
||||
SMTP_PORT=465
|
||||
SMTP_PORT=587
|
||||
SMTP_USER=resend
|
||||
SMTP_PASSWORD=
|
||||
MAIL_FROM=send@read.atanasov.fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue