fix: use different mail port
Node.js CI / Lint and Test (push) Failing after 19s
Security Scan / Security Audit (push) Failing after 5m5s

Hetzner likely blocks the default SMTP port.
This commit is contained in:
2025-12-16 17:06:08 -08:00
parent 6a048a6c47
commit 18adec1d4b
+3 -3
View File
@@ -20,8 +20,8 @@ export const sendMail = async(subject: string, body: string): Promise<void> => {
user: "noreply@nhcarrigan.com", user: "noreply@nhcarrigan.com",
}, },
host: "mail.nhcarrigan.com", host: "mail.nhcarrigan.com",
port: 465, port: 587, // UPDATED: Standard port for STARTTLS
secure: true, secure: false, // UPDATED: false means "Connect then upgrade via STARTTLS"
}; };
const defaults: SMTPTransport["options"] = { const defaults: SMTPTransport["options"] = {
from: "noreply@nhcarrigan.com", from: "noreply@nhcarrigan.com",
@@ -33,4 +33,4 @@ export const sendMail = async(subject: string, body: string): Promise<void> => {
subject: subject, subject: subject,
text: body, text: body,
}); });
}; };