fix(core): Add an option to disable STARTTLS for SMTP connections (#9415)
This commit is contained in:
committed by
GitHub
parent
38b498e73a
commit
0d7358807b
@@ -19,6 +19,7 @@ export class NodeMailer {
|
||||
host: config.getEnv('userManagement.emails.smtp.host'),
|
||||
port: config.getEnv('userManagement.emails.smtp.port'),
|
||||
secure: config.getEnv('userManagement.emails.smtp.secure'),
|
||||
ignoreTLS: !config.getEnv('userManagement.emails.smtp.startTLS'),
|
||||
};
|
||||
|
||||
if (
|
||||
|
||||
@@ -816,6 +816,12 @@ export const schema = {
|
||||
default: true,
|
||||
env: 'N8N_SMTP_SSL',
|
||||
},
|
||||
startTLS: {
|
||||
doc: 'Whether or not to use STARTTLS for SMTP when SSL is disabled',
|
||||
format: Boolean,
|
||||
default: true,
|
||||
env: 'N8N_SMTP_STARTTLS',
|
||||
},
|
||||
auth: {
|
||||
user: {
|
||||
doc: 'SMTP login username',
|
||||
|
||||
Reference in New Issue
Block a user