✉️ SMTP TLS default value (#270)

This commit is contained in:
Montassar Ghanmy
2023-11-23 10:42:19 +01:00
committed by GitHub
parent 19f0202b4e
commit b075763445
@@ -43,7 +43,7 @@ export default class EmailPusherClass
const smtpConfig: SMTPClientConfigType = { const smtpConfig: SMTPClientConfigType = {
host: this.configuration.get<string>("smtp_host", ""), host: this.configuration.get<string>("smtp_host", ""),
port: this.configuration.get<number>("smtp_port", 25), port: this.configuration.get<number>("smtp_port", 25),
requireTLS: this.configuration.get<boolean>("smtp_tls", true), requireTLS: this.configuration.get<boolean>("smtp_tls", false),
auth: { auth: {
user: this.configuration.get<string>("smtp_user", ""), user: this.configuration.get<string>("smtp_user", ""),
pass: this.configuration.get<string>("smtp_password", ""), pass: this.configuration.get<string>("smtp_password", ""),