mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
fix(core): Add an option to disable STARTTLS for SMTP connections (#9415)
This commit is contained in:
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',
|
||||
|
|
Loading…
Reference in a new issue