A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.
chore: resolve possible SMTP failures
towfiqi2353c5011a56
diff --git a/backend/__tests__/notifications/SMTPChannel.test.ts b/backend/__tests__/notifications/SMTPChannel.test.tsindex c7b1bb9..670acc5 100644--- a/backend/__tests__/notifications/SMTPChannel.test.ts+++ b/backend/__tests__/notifications/SMTPChannel.test.ts@@ -73,7 +73,9 @@ describe('SMTPChannel', () => {port: 587,secure: false,requireTLS: false,+ connectionTimeout: 15000,greetingTimeout: 10000,+ socketTimeout: 30000,auth: {user: '[email protected]',pass: 'password123',diff --git a/backend/src/notifications/channels/SMTPChannel.ts b/backend/src/notifications/channels/SMTPChannel.tsindex 99af409..6090ee0 100644--- a/backend/src/notifications/channels/SMTPChannel.ts+++ b/backend/src/notifications/channels/SMTPChannel.ts@@ -23,7 +23,9 @@ export class SMTPChannel implements NotificationChannel {requireTLS: false,// debug: true,// logger: true,+ connectionTimeout: 15000,greetingTimeout: 10000,+ socketTimeout: 30000,auth: {user: smtpConfig.username,pass: smtpConfig.password,