Merge pull request #135 from fantasticit/fix/mail-error

server: fix send mail error
This commit is contained in:
fantasticit 2022-07-25 15:45:33 +08:00 committed by GitHub
commit 6c9666c02d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -93,6 +93,9 @@ export class SystemService {
user: emailConfig.user, user: emailConfig.user,
pass: emailConfig.pass, pass: emailConfig.pass,
}, },
tls: {
rejectUnauthorized: false,
},
}); });
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {