mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
🔀 Merge branch 'master' of github.com:n8n-io/n8n
This commit is contained in:
commit
63ef7bd00c
|
@ -139,13 +139,16 @@ export class EmailSend implements INodeType {
|
|||
host: credentials.host as string,
|
||||
port: credentials.port as number,
|
||||
secure: credentials.secure as boolean,
|
||||
// @ts-ignore
|
||||
auth: {
|
||||
user: credentials.user,
|
||||
pass: credentials.password,
|
||||
}
|
||||
};
|
||||
|
||||
if(credentials.user || credentials.password) {
|
||||
// @ts-ignore
|
||||
connectionOptions.auth = {
|
||||
user: credentials.user,
|
||||
pass: credentials.password
|
||||
};
|
||||
}
|
||||
|
||||
if (options.allowUnauthorizedCerts === true) {
|
||||
connectionOptions.tls = {
|
||||
rejectUnauthorized: false
|
||||
|
|
Loading…
Reference in a new issue