Merge pull request #2427 from bluewave-labs/feat/test-email

Feat: New Email Options
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-06-15 17:11:12 +08:00
commit 1607aba78f
9 files changed
+204 -53

No files matched your search

+6 -4
View File
@@ -973,10 +973,12 @@ class NetworkService {
systemEmailPort: emailConfig.systemEmailPort,
systemEmailAddress: emailConfig.systemEmailAddress,
systemEmailPassword: emailConfig.systemEmailPassword,
// Only include these if they are present
...(emailConfig.systemEmailConnectionHost && {
systemEmailConnectionHost: emailConfig.systemEmailConnectionHost,
}),
systemEmailSecure: emailConfig.systemEmailSecure,
systemEmailPool: emailConfig.systemEmailPool,
systemEmailIgnoreTLS: emailConfig.systemEmailIgnoreTLS,
systemEmailRequireTLS: emailConfig.systemEmailRequireTLS,
systemEmailRejectUnauthorized: emailConfig.systemEmailRejectUnauthorized,
systemEmailTLSServername: emailConfig.systemEmailTLSServername,
...(emailConfig.systemEmailUser && {
systemEmailUser: emailConfig.systemEmailUser,
}),