mirror of https://github.com/fantasticit/think.git
server: fix send mail error
https://github.com/nodemailer/nodemailer/issues/406
This commit is contained in:
parent
0cde4bf977
commit
5e6cb0180a
|
@ -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