mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 01:18:23 +00:00
smtp env variable support (#13058)
Co-authored-by: Midhun G S <gsmithun4@gmail.com>
This commit is contained in:
parent
ad16f1979e
commit
95b1c9237d
1 changed files with 1 additions and 0 deletions
|
|
@ -90,6 +90,7 @@ export class EmailService implements IEmailService {
|
|||
host: smtpSettings.host,
|
||||
port: smtpSettings.port,
|
||||
secure: smtpSettings.port === 465, // Use `true` for port 465, `false` for others
|
||||
ignoreTLS: process.env.SMTP_IGNORE_TLS === 'true' ? true : false,
|
||||
auth: {
|
||||
user: smtpSettings.username,
|
||||
pass: smtpSettings.password,
|
||||
|
|
|
|||
Loading…
Reference in a new issue