This commit is contained in:
@@ -18,6 +18,9 @@ export function initMailer() {
|
||||
port,
|
||||
secure: port === 465,
|
||||
auth: { user, pass },
|
||||
connectionTimeout: 10_000, // 10 s to establish TCP connection
|
||||
greetingTimeout: 10_000, // 10 s to receive SMTP greeting
|
||||
socketTimeout: 15_000, // 15 s of inactivity before abort
|
||||
});
|
||||
|
||||
console.log('✅ SMTP mailer configured');
|
||||
|
||||
Reference in New Issue
Block a user