mirror of https://github.com/fantasticit/think.git
Merge pull request #135 from fantasticit/fix/mail-error
server: fix send mail error
This commit is contained in:
commit
6c9666c02d
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in New Issue