From 18adec1d4ba2912f206f1a68d58f44e2d7118f39 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Tue, 16 Dec 2025 17:06:08 -0800 Subject: [PATCH] fix: use different mail port Hetzner likely blocks the default SMTP port. --- src/modules/sendMail.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/sendMail.ts b/src/modules/sendMail.ts index 3c7e1c9..e4389fa 100644 --- a/src/modules/sendMail.ts +++ b/src/modules/sendMail.ts @@ -20,8 +20,8 @@ export const sendMail = async(subject: string, body: string): Promise => { user: "noreply@nhcarrigan.com", }, host: "mail.nhcarrigan.com", - port: 465, - secure: true, + port: 587, // UPDATED: Standard port for STARTTLS + secure: false, // UPDATED: false means "Connect then upgrade via STARTTLS" }; const defaults: SMTPTransport["options"] = { from: "noreply@nhcarrigan.com", @@ -33,4 +33,4 @@ export const sendMail = async(subject: string, body: string): Promise => { subject: subject, text: body, }); -}; +}; \ No newline at end of file