Update email-handler.ts to remove default SMTP configuration values

- Cleared default values for SMTP environment variables in email-handler.ts to enhance security and ensure sensitive information is not hardcoded.
- This change encourages the use of environment-specific configurations for better deployment practices.
This commit is contained in:
2025-11-02 01:36:51 +01:00
parent c6e60af83f
commit 9a85327978

View File

@@ -7,12 +7,12 @@ import path from 'path';
// Environment variables // Environment variables
const { const {
SMTP_HOST = 'mailcowdockerized-postfix-mailcow-1', SMTP_HOST = '',
SMTP_PORT = '587', SMTP_PORT = '',
SMTP_USER = 'test@devnet365.eu', SMTP_USER = '',
SMTP_PASS = 'Liable7-Flavored6-Path0-Diligent0-Fragrant7', SMTP_PASS = '',
ADMIN_EMAIL = 'info@devnet365.eu', ADMIN_EMAIL = '',
WEBSITE_NAME = '365DevNet Support', WEBSITE_NAME = '',
} = process.env; } = process.env;
// Email configuration // Email configuration